Favour is business woman that needs an app for her inventory management. She just wants to be able manage her inventory (Using name, price and quantity) and from the user end, they are able to to see these changes accordingly anad also add to cart with jwt protected routes.
This is a basic backend API built with core php for Favour's Inventory management app,
Basic functions are as follows;
- Admin Can #create Products/Inventories
- Admin Can #Update Products/Inventories
- Admin Can #Read All Products/Inventories
- Admin Can #Delete Products/Inventories
- User Can Register
- User Can Login
- User Can View get his profile
- User Can Add Products to cart
if you wish to run this code on your Local machine then you must have XAMPP.
Clone this Repo and host to your local computer
$ git clone https://github.com/Emmanuelonyo/nck_task
Create a database and import the Database file located in the DATABASE FILES FOLDER
you can use POSTMAN to run the API
the API DOCUMENTATION can be found HERE