Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/batsdk/e-commerce-node
E commerce Rest API made with Node/Express JS
https://github.com/batsdk/e-commerce-node
api ecommerce express javascript jwt mongoose nodejs
Last synced: about 1 month ago
JSON representation
E commerce Rest API made with Node/Express JS
- Host: GitHub
- URL: https://github.com/batsdk/e-commerce-node
- Owner: batsdk
- Created: 2022-05-26T13:44:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T11:34:11.000Z (over 2 years ago)
- Last Synced: 2024-10-02T09:10:37.403Z (about 2 months ago)
- Topics: api, ecommerce, express, javascript, jwt, mongoose, nodejs
- Language: JavaScript
- Homepage: https://e-commerce-api-batzdk.herokuapp.com/
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-commerce-Node JS
E commerce Rest API made with Node/Express JS# Setup .env File
- MONGO_URI
- JWT_SECRET
- JWT_EXPIRATION# Routes
#### Auth
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/auth/logout [LOGOUT]
- Post - https://e-commerce-api-batzdk.herokuapp.com/api/v1/auth/login [LOGIN]
- Post - https://e-commerce-api-batzdk.herokuapp.com/api/v1/auth/register [REGISTER]#### Users
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/users/ [GET USERS]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/users/showMe [GET CURRENT USER]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/users/:id [GET USER BY ID]
- Patch - https://e-commerce-api-batzdk.herokuapp.com/api/v1/users/updateUser [UPDATE USER]
- Patch - https://e-commerce-api-batzdk.herokuapp.com/api/v1/users/updateUserPassword [UPDATE USER PASSWORD]#### Products
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/ [GET PRODUCTS]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/:id [GET PRODUCT BY ID]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/:id/reviews [GET PRODUCT REVIEWS]
- Post - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/ [CREATE PRODUCT]
- Post - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/uploadImage [UPLOAD IMAGE]
- Patch - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/:id [UPDATE SINGLE PRODUCT]
- Delete - https://e-commerce-api-batzdk.herokuapp.com/api/v1/products/:id [DELETE PRODUCT]#### Reviews
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/reviews/ [GET REVIEWS]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/reviews/:id [GET SINGLE REVIEW]
- Post - https://e-commerce-api-batzdk.herokuapp.com/api/v1/reviews/ [CREATE SINGLE REVIEW]
- Patch - https://e-commerce-api-batzdk.herokuapp.com/api/v1/reviews/:id [UPDATE REVIEW]
- Delete - https://e-commerce-api-batzdk.herokuapp.com/api/v1/reviews/:id [DELETE REVIEW]#### Orders
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/orders/ [GET ORDERS]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/orders/showAllMyOrders [GET CURRENT USER ORDERS]
- Get - https://e-commerce-api-batzdk.herokuapp.com/api/v1/orders/:id [GET SINGLE ORDER]
- Post - https://e-commerce-api-batzdk.herokuapp.com/api/v1/orders/ [CREATE ORDER]
- Patch - https://e-commerce-api-batzdk.herokuapp.com/api/v1/orders/:id [UPDATE ORDER]