/food_delievey

Primary LanguageJavaScript

Food Delievery System

Features:

  • Authentication
  • JWT Token
  • Hash Password
  • Create Restaurants
  • Create Menu for Restaurants
  • Book Orders

Tech Stack:

NPM Modules: Express.js,Mongoose.js,bcrypt,jwt,dotenv.

Database: MonogDB

For Running Locally

  • clone the project
git clone https://github.com/raj8888/food_delievey.git
  • Go to the Repo
cd food_delievey
  • For Install Modules
npm i
  • For download nodemon globally
npm install -g nodemon
  • For start server
nodemon index.js

Enviroment Variables

MongoURL

seckey

port

API Refference

For Users

  • for user register
POST/api/users/register
  • for user login
POST/api/users/login
  • for create new password
PATCH/api/users/:userID/reset

Authentication required for next all routes

For Restaurants

  • for getting all Restaurants
GET/api/restaurants/
  • for getting particular Restaurants
GET/api/restaurants/:id
  • for getting particular Restaurants Menu
GET/api/restaurants/:id/menu
  • for creating restaurants
POST/api/restaurants/
  • for creating menu for restaurants
POST/api/restaurants/:id/menu
  • for delete menu for restaurants
DELETE/api/restaurants/:resid/menu/:menuid

For Orders

  • for create order
POST/orders/:resid/:menuid
  • for getting particular order details
GET/orders/:id
  • for change the status of id
PATCH/orders/:id

Backend Deployed Link

https://rich-plum-butterfly-sari.cyclic.app/

Video Presantation

presantation link