Skip to content

shivamkj/node-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJs E-Commerce Product REST API

The REST API application for managing products for E-Commerce site. It based on Node.js & Express. Architecture is mix of MVC and clean architecture.

Steps to setup the project

Step 1: Clone the repo & install the npm packages

git clone https://github.com/trulymittal/API-Authentication-NodeJs.git   # clone the repository
# cd into the directory/folder
npm i # install npm packages
npm i -g nodemon # install nodemon globally (if not installed)

Step 2: Configure environment variables by creating .env file and adding following values

PORT=3000
MONGODB_URI=mongodb://localhost:27017
DB_NAME=YOUR_DB_NAME
ACCESS_TOKEN_SECRET=GENERATE_FROM_GENERATE_KEYS_FILE_IN_HELPER
REFRESH_TOKEN_SECRET=GENERATE_FROM_GENERATE_KEYS_FILE_IN_HELPER

Step 3: Start the devlopment server by running npm start

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published