This document serves as a guide for setting up and running the Drone Delivery App.
- Node.js and npm should be installed on your system.
- MongoDB should be installed and running in the background.
- Clone the repository to your local machine.
- Navigate to the client directory and run
npm install --legacy-peer-depsto install all the required dependencies. - Navigate to the server directory and run
npm installto install all the required dependencies.
Create a .env file in the server directory which should contain your environment variables mentioned in .env.example
- Before starting the app, make sure that there is no other processes are running on port 3000 and 3001.
- Run
npm startin the server directory to start the server on port 3000. - Run
npm startin the client directory to start the React app on port 3001. - Navigate to
http://localhost:3001in your browser to view the app.
├── client
│ ├── public
│ ├── src
│ ├── package.json
│ └── tailwind.config.js
├── server
│ ├── bin
│ ├── config
│ ├── controllers
│ ├── drone-api
│ ├── middlewares
│ ├── models
│ ├── routes
│ ├── .env
│ ├── app.js
│ ├── error.js
│ ├── test.js
│ └── package.json
├── .gitignore
├── package.json
└── README.md
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.