online-restuarant-backend

This is backend setup for Online Restuarant Management

If you want to run in your machine, then follow the steps

  1. Do install this Sofwares: NodeJS, MongoDB, MongoDBCompass, VSCode, Postman
  2. Clone this repository
  3. Save in your system
  4. Open it in VSCode
  5. Open terminal in VSCode
  6. Type a command "npm install", this will install all your packages
  7. Then start your mongodb server, by opening a new terminal and type "mongo"
  8. Then go to MongoDBCompass, connect it with localhost using "mongodb://localhost:27017/"
  9. In MongoDBCompass add database with name "restuarant" and "users" as collections
  10. After doing this, goto VSCode, and type "npm start", this start your NodeJS server
  11. To test this project open Postman and add "http://localhost:8080/"
  12. Thats it, you can manage your database using nodejs links

TechStack:

  1. NodeJS
  2. ExpressJS
  3. MongoDB