#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:
- Clone the Git project to your Local Machine.
- 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. - 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.
- Now to change the URL go to app.js File and Replace this url with your realOne.
- After replacing the MongoDB URL you need to create a .env File on root directory in project.
- Now copy all the code from config.js and paste it to .env File and Save the File.
- Now start your server by
npm start
command , You will successfully Run the API in Postman awa ChromeBrowser.