Skip to content

A Food Ordering Portal following where users have the option to search and order various food items. At the same time, various vendors have the ability to list food items.

Notifications You must be signed in to change notification settings

Abhi7410/FoodPortal_Mern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 boilerplate

  • 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.

  • If you use the dockerised mern app or the hosted site , the the commands are:
    • sudo docker-compose up --build in the parent directory
    • Then open new terminal and write the command
    • hostname -I
    • paste the Address in the browser followed by :3050

About

A Food Ordering Portal following where users have the option to search and order various food items. At the same time, various vendors have the ability to list food items.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages