theprajin / nodejs_food_delivery_app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Food Delivery App Project(NodeJS,Express,MongoDB)

Setup the Project

  • hit "npm install" command on the terminal
  • create .env file in the root folder

In .env file

  • create MONGO_URL variable with value related to MongoDB connection(offline or online MongoDB database can be used)
  • add variables in JWT_SECRET=jwtSecret (or any secret texts to be used) and JWT_LIFETIME=1d (or the time you want to set)

Starting the server

  • hit "npm start" on terminal

Testing API endpoints

  • Use Postman or any web clients of your choice(Swagger UI will be added later)

About


Languages

Language:JavaScript 100.0%