Skip to content

ysfoz/Mern_E-Commerce_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mern_E-Commerce_API

Links

Api Heroku Link
Admin Panel Heroku Link
username = admin
pass = 123456

Admin Panel Github Link

Client Website Heroku Link

Client Website Github Link

Routes

/api/users

put - /:id
put - /adminupdate/:id
delete - /:id
delete - /:id
get - /find/:id
get - /
get - /stats

/api/auth

post - /register
post - /adminregister
post - /login

/api/products

post - /
put - /:id
put - /salesupdate/:id
delete - /:id
get - /find/:id
get - /

/api/carts

post - /
post - /:id
put - /:id
post - /delete/:id
delete - /:id
get - /find/:userId
get - /

/api/orders

post - /
put - /:id
delete - /:id
get - /find/:userId
get - /
get - /income

/api/checkout

post - /payment