The Shop API is an e-commerce application built with express.js, node.js, and MongoDB, for online product sales. The app provides authenticated and unauthenticated users with a catalog of available products to purchase. Before placing an order, users need to add all the products they want to purchase to a shopping cart. After that, the user can proceed with placing an order which if successfully processed, returns a session id to the client. It is worthy to note that each user can have only one cart that becomes empty after placing an order. To create a product, you must have dealer privilege access because only dealers have permission to perform this action.
- Node
- Express
- Mongodb
- Mongoose
To get a local copy up and running follow these simple example steps. On your terminal, run
git clone git@github.com:Nasa28/Shop-App-Node.git
Install dependencies with:
npm install
Start server with:
npm start
Open http://localhost:3000/api/v1/products in your browser.
👨💻 Kalu Chinasa Agu
- Github: @Nasa28
- Twitter: @Ultimate_Nasa
- LinkedIn: LinkedIn
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.