User can upload any file and can get the online link of that file. It is helpful when we want to share any file using a link.
Before getting started, ensure that you have the following prerequisites installed on your machine:
Node.js (version 12 or above)
npm (comes bundled with Node.js)
-
Clone the repo to your local machine.
-
Install the required dependency for server using :
cd server npm install
-
Install the required dependency for client using :
cd client npm install
-
Create a .env file inside the server folder and provide the following environment variables:
DB_USERNAME=<your-db-username> DB_PASSWORD=<your-db-password>
-
Start the express server using :
cd server npm start
-
Start the react development server using:
cd client npm start
-
Open your web browser and visit http://localhost:3000 to access this App.
file-sharing-app-video-demonstration.mp4
(If you liked the project, give it star 😃)