A campus wide food ordering portal built as a course project for CS253 by Team Spartans
Clone the github repo with the link provided below:
git clone https://github.com/pranabp-bit/foodle
Add the .env (environment file) needed for the software to the backend directory in the following format -
PORT=5000
MONGO_URI="mongodb+srv://anmolpabla19:[email protected]/foodle"
JWT_SECRET="mya32acharacteraultraasecureaand"
JWT_EXPIRES_IN="20d"
SENDER_EMAIL="[email protected]"
SENDER_PASSWORD=".."
Run the following sequence of commands from the root directory:
cd backend
Install dependencies
npm install
Start the server
npm start
Backend starts at port 5000
cd ..
cd frontend
npm install
npm start
Frontend starts at port 3000
The application will run on the default browser, and is structured minimally as a now, hence can be easily navigated once made to run
Update the system if required in the process