/SwigIIIT

A Webapp that can be used by the students of IIIT to place orders across various eateries.

Primary LanguageJavaScriptMIT LicenseMIT

MERN Stack Boilerplate

Installations

Canteen Portal using MERN STACK

Hariharan Kalimuthu, 2020115015

BONUS PARTS

  • An email is sent to buyer in case the order is accepted or the order is rejected using emailjs
  • Implemented Fuzzy Search using FUSE.js

Hosted at :

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.