Store Manager is a web application that helps store owners manage sales and product inventory records
Store-Manage-Using-Datatucture
REQUEST | ROUTE | FUNCTIONALITY |
---|---|---|
POST | /api/v1/products | Admin creates a new product |
POST | /api/v1/Sales | Attendant creates new sale records |
GET | /api/v1/products | Fetches all products |
GET | /api/v1/products/< productId> | Fetches a specific product |
GET | /api/v1/sales | Admin fetches all sale records |
GET | /api/v1/sales/< productId> | Fetches a specific sale record |
- Flask
- Python
-
Clone this repository to your local PC
git clone https://github.com/Eubule/Store-Manager-With-Datastructure.git
here -
Create a virtual environment to run application specific dependencies
$ virtualenv venv
To create a virtual environment separate from your system$ source venv/bin/activate
To activate you virtual environment$ pip install flask
To install the flask framework that will be used throughout$ pip freeze > requirements.txt
To install requirements useful when hosting the app on a remote server
-
To run the app
python app.py
-
To run tests
python -m pytest --cov app/
Malaba MASHAURI Eric