Store Manager is a web application that helps Store-owners manage sales, product inventory records and staff. It also allows staff allocated authority by the Store-owner, to login and start Shopping Carts for customers, interract with the product inventory and make sale records that can be viewed by the owner wherever they are.
To get the project, clone it using Github Repo. Also the current App is on github pages
This is app is hosted on heroku.
Functionality | HTTP Method | Endpoint |
---|---|---|
index / welcome |
/ | |
new account |
POST | /api/v1/user |
update account |
PUT | /api/v1/user/id |
delete account |
DELETE | /api/v1/user/id |
add new product |
POST | /api/v1/products |
modify product |
PUT | /api/v1/products/id |
delete product |
DELETE | /api/v1/products/id |
add a sale order |
POST | /api/v1/sales |
view a sale order |
GET | /api/v1/sales/id |
view all sale records |
GET | /api/v1/sales |
Function | Access |
---|---|
Admin registeration |
admin |
User login |
store attendant and admin |
Add accounts for store attendants |
admin |
Add products |
admin |
Update store attendant's accounts |
admin |
Delete store attendant's accounts |
admin |
Update products |
admin |
Delete product |
admin |
View all products |
store attendant and admin |
Add sale records |
store attendant |
View all users' sale records |
admin |
View a store attendant sale records |
store attendant and admin |
The documentation can be found here
Web browser
Internet
- admin can be registered only if non exists
- Current admin:
username: jonnie
password: Andela8
- Clone project to your local machine
$ git clone https://github.com/codjoero/Store-Manager-App.git
- Run through the following settings
$ cd Store-Manager-App
$ pip install virtualenv
$ virtualenv env
$ . env/bin/activate (windows: $ source env/Scripts/activate)
$ pip install -r requirements.txt
$ python3 run.py
$ . env/bin/activate (windows: $ source env/Scripts/activate)
$ pip install pytest
$ python3 -m pytest
App built with the following tech:-
- HTML5
- CSS3
- Javascript
- Python/Flask
- Virtualenv
Create a branch from feature, make a PR and I will review and merge if possible.
Ronald Nsereko
Thanks to the developers at Andela. And to all that have made this development process possible, you're heros to me.
Andela Opensource