/Food-Ordering-Portal

Food Ordering Web App using MERN Stack

Primary LanguageJavaScript

Food Ordering Web App

About

This is a Web application based on MERN stack - MongoDB, Express.js, React.js, and Node.js. With this application Vendors can sell their products while Buyers can surf and buy stuff from various vendors on the platform.

  • Vendors and Buyers can create their accounts and edit their profiles.
  • Adding of products is made convinient for the Vendors.
  • Ordering system is made convinient for Buyers and even Vendors.
  • Searching, Sorting and Filtering of Products from various Vendors is made easy through this app.
  • Buyers can look at the status of their products as they are being prepared.

Installations

Node

  • For Linux:
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
  • For Mac:
brew install node

MongoDB

Install the community edition here.

React

npm install -g create-react-app
  • To create a new React app:
create-react-app name_of_app
  • To run the app, cd into the directory and do:
npm start

Running the App

  • Run Mongo daemon:
sudo mongod

Mongo will be running on port 27017.

  • Run Express Backend:
cd backend/
npm install
npm start
  • Run React Frontend:
cd frontend
npm install/
npm start

Navigate to http://localhost:3000/ in your browser.