This API has the basic fumctionality of your regular basic CRUD API.
Users can sign up, login, view, update and delete their profiles.
Products are added in to by admins, they also have the privilege to update, view and delete products.
Users can add in products to their carts, they can remove products, view their carts and delete it entirely.
After a successful shopping, users can then proceed to make an order and subsequently make payments.
The payment gateway API used was Paystack, with this, users have the ability to pay with their card or USSD. When a selection is made, it initialises the transaction and then subsequently it verifies it and the users are shown a success message.
The admins have the privileges of:
1. Viewing the profiles of users.
2. Adding, updating, viewing and deleting products.
3. They can monitor orders and transactions.
This is purely just an API, there is no frontend to it.
If anyone would like to add a frontend to it, you can simply clone this repo by using:
git clone
Once it is done you can proceed to download the depedencies used in the project by using
npm install
Then afterwards you can run it locally using
npm start
You are good to go.
If you would like to see the API documentation, you can find it in the link below:
This is the [API docs](https://documenter.getpostman.com/view/16987750/UzBsGizC)