In the Five Bhais project, we implemented NextJS, MongoDB Atlas, and Flask in order to demonstrate a restaurant web application that is able to display the menu to all online surfers, but allow only the customers to be able to order food from our website; at the same time, customers can choose to place a reservation to dine-in, order pickup, or place a delivery order. In the future, we will implement the functionality of being able to rank the highest rated dishes, and have a system that helps delivery drivers track their orders and allow them to confirm that their delivery was complete.
Requirements: Node.js and Python
- Navigate to the
client
directory. - Install the frontend dependencies via
npm install
. - Run the frontend server via
npm run dev
.
- Create and activate a python virtual environment. This can be done through the following commands.
python3 -m venv venv source venv/bin/activate
- Download the required python packages using:
pip install -r requirements.txt
- Run the backend server by first navigating to server directory.
cd server python server.py
Frontend: NextJS
Backend: Flask & MongoDB Atlas, including the pymongo library for building API endpoints