The Food Ordering Portal is a web application built using the MERN stack that allows:
Customers
- to order food items from a list of available items sold by vendors
- to view, manage and edit personal profiles
- to view status of orders placed by them and pick up orders from vendors
Vendors
- to put food items up for sale, where they can be ordered by customers
- to view, manage and edit personal profiles
- to view and manage orders placed by customers and update their status as the orders progress
- view statistics and distribution of orders placed by customers and sales completed by them
The Food Ordering Portal supports two types of accounts: vendors and customers.
- User authentication and authorization using JWT.
- Fuzzy search for food items
- Filtering and sorting food items based on various attributes
- Email confirmation for acceptance/rejection of orders
- Adding and removing favourite food items
- Node.js
- Express.js
- MongoDB
- React.js
- From the cloned directory, run
cd backend
and run the following command:
cp .env.template .env
-
Fill in the details in the newly created
.env
file, and save it. This is an essential step, as it contains the credentials for the database. -
Now, all you need to do is run the following command from the root of the cloned directory:
docker-compose up -d
The application will now be running on http://localhost:80.
Running
docker-compose down
will stop the application.