nodeShop backend provides core commerce APIs for authentication, product browsing, cart, wishlist, and order flow. The API is secured with JWT and documented with Swagger.
- Base API path:
/api - Swagger UI:
/docs(served fromopenapi.yaml)
[Client]
|
v
[Express API]
|-- auth middleware (JWT)
|-- controllers
|-- models (Mongoose)
v
[MongoDB]
Key entry points:
app.js: server bootstrap and middlewareroutes/: HTTP routes and auth guardcontrollers/: request handlersModel/: Mongoose models
- Node.js
- Express
- MongoDB + Mongoose
- JWT authentication
- Swagger UI + OpenAPI
- Supporting libs:
bcryptjs,cors,dotenv