Store Manager is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store. github pages
| Endpoint | Link |
|---|---|
| Index Route | / |
| Users POST | /api/v2/auth/signup |
| Users POST | /api/v2/auth/signup |
| Products GET | /api/v2/products |
| ProductsGET Item | /api/v2/products/1 |
| Products POST | /api/v2/products |
| Sales GET Only Admin | /api/v2/sales |
| Sales GET Admin/Attendant | /api/v2/sales/1 |
| Sales POST Only Attendant | /api/v2/sales |
/attendant |
/admin |
|---|---|
| - search available products | - add attendant |
| - make sales | - add new, modify and delete products |
| - view user profile | - view sales made by different attendants |
| - add products to cart | - assign product categories |
| - view product details |
| Admin Dashboard | Attendant Dashboard |
|---|---|
username admin |
any |
password password |
any |
| Action | Command Neeeded |
|---|---|
| Installation | $ git clone https://github.com/armstrongsouljah/Store-Manager.git |
| Action | Command Needed |
|---|---|
| Project root | $ cd Store-Manager |
| Environment creation | $ virtualenv venv -p python3 |
Activate Environment Linux or Mac |
$ source venv/bin/activate |
| Activate Environment Windows | c:/ .\venv\Scripts\activate venv/bin/activate |
| Install project Dependencies | $ pip install -r requirements.txt |
Python 3.6 and above
$ pytest --cov app/tests -cov-report term-missing
$ python3 run.py
- Much appreciation goes to my fellow bootcamp candidates for your tireless efforts in helping me where I got stuck
- Lastly, thank you Andela for the
Levelup35program.
Muhwezi Armstrong