Repository files navigation E-Commerce Project in MERN STACK
using for development pusrpose nodemon: npm i --save-dev nodemon.
to server run pls command "npm run dev" in terminal.
for tracking HTTP request logger middleware for node.js use package morgan:"npm install --save-dev morgan".
HTTP error handeling-- npm i http-error
Node.js Connect middleware to sanitize user input coming from POST body, GET queries, and url params, use :"npm install xss-clean --save".
Basic rate limit for nice with express-slow-down. use:"npm i express-rate-limit"
SET UP ENV variable. use :"npm i dotenv"
Mongo db database connection through packege install :"npm i mongoose"
Schema and model creation
node.bcrypt.js-A library to help you hash passwords. use "npm install bcrypt"
seed api create and insert data base.
user search, filter and pagination create.
get single user by id-- here i have handled mongoose error for invalid mongoose id.
how to create service for single user.
About
THIS PROJECT BASED ON MERN
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.