Skip to content

armstrongsouljah/Store-Manager

Repository files navigation

Store-Manager Build Status Maintainability Coverage Status

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

Heroku Endpoints

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

UI Features

/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

login details

Admin Dashboard Attendant Dashboard
username admin any
password password any

Project Installation

Action Command Neeeded
Installation $ git clone https://github.com/armstrongsouljah/Store-Manager.git

Using the project

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 Version Supported

Python 3.6 and above

Testing the app

$ pytest --cov app/tests -cov-report term-missing

Running the app

$ python3 run.py

CREDITS

  • 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 Levelup35 program.

Author

Muhwezi Armstrong

Contact

Twitter

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •