/Order-Anything-API

REST_API for simple order application

Order-Anything-API

REST_APIs for simple order application

TechStack :

  • Node.js
  • Express.js
  • MongoDB

Run in Postman

WorkFlow :

  • created mongoDB models for users(customer,admin,shipper),orders and catalogue.
  • connected app to mongoDB database.
  • Registerd all users with mobile and password ,password is encrypted using bcrypt . Checked if the user is already registered it will give a message that user already exists else saved the username and password in user database.
  • Registerd vendors with mobile and password ,password is encrypted using bcrypt . Checked if the vendor is already registered it will give a message that vendor already exists else saved the username and password in user database.
  • Before saving users into database checked if there credentials are valid or not.
  • Users can login with its registered mobile and password.
  • Customer can place orders.
  • Driver can update orders status.

Download Packages

npm install