Skip to content

This is Rest API built in Nodejs -Express using MonogoDB with all the action e.g Create User, Login a user, JWT token, CRUD on Products, Crud on Orders etc.

Notifications You must be signed in to change notification settings

jas7i/Rest-API-NodeJSExpressJS-E-commerceStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Rest-API-NodeJSExpressJS-E-commerceStore:-

This is Rest API built in Nodejs -Express using MonogoDB with all the Routes e.g Create User, Login a user, Delete User, JWT token Authentication, CRUD on Products, Crud on Orders (Update Order is not included) etc.

Follow these steps to setup it on your Localhost/yourMachine:

  1. Clone the Git project to your Local Machine.
  2. After Cloning the Project you need to Run the command into current Project directory npm install . which will install all the required package for this project.
  3. After installing the packages in Project You need to change the MongoDB url With your Real MongoDB Cluster url ,Either you can use MongoDB Compass url Locally.
  4. Now to change the URL go to app.js File and Replace this url with your realOne.

ScreenShot

  1. After replacing the MongoDB URL you need to create a .env File on root directory in project.
  2. Now copy all the code from config.js and paste it to .env File and Save the File.
  3. Now start your server by npm start command , You will successfully Run the API in Postman awa ChromeBrowser.

Screenshot_1 Screenshot_2 Screenshot_3 Screenshot_4 Screenshot_5 Screenshot_6 Screenshot_7 Screenshot_8

About

This is Rest API built in Nodejs -Express using MonogoDB with all the action e.g Create User, Login a user, JWT token, CRUD on Products, Crud on Orders etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published