This is a web application that allows ELD-Benrays company to record and keep track of their inventory.
PLEASE OPEN
To view the data models, ER diagrams and UI designs, check out this link to the slide presentation: https://drive.google.com/file/d/11VnjXw7muhkJhuLKK0EAZJgjioYF6Cyp/view?usp=sharing
PLEASE OPEN
Link to the video demo:
https://drive.google.com/file/d/1C-iG4nArvxLHEOYJaodJfDZlG8MEe-7Z/view?usp=sharing
Dashboard page - Displays low stock alert and pending orders notifications.
Product page - Enables employees to add, view, edit and delete products.
Employee page - Managing employees by adding, viewing, editing and deleting records.
orders page - Create, view, edit and delete orders.
UI Design:
- Figma
Frontend:
- html
- css
- bootstrap
- flask
Backend:
- Python
- Sqlalchemy
- MySQL
- Flask
Version Control:
- Git and GitHub
The project is divided into three main parts:
- Models
- Api
- Web_flask
Contains all the models, database module and test modules.
- base_model
- products
- employees
- warehouses
- orders
- order_items
- sales
- purchases
- inventory
- returns
- inventory transactions
- engine - contains db_storage
- tests - contains all the unittests
The API endpoints include:
Employees
Create:
- /api/v1/employees/register
Update: /api/v1/employees/update/<id>
Read:- /api/v1/employees/
/api/v1/employees/<id>- /api/v1/employees/data
- /api/v1/employees/count
Delete: /api/v1/employees/<id>
Products
Create:
- /api/v1/products/register
- /api/v1/products/category/register
- /api/v1/products/color/register
Update: /api/v1/products/update/<id>/api/v1/products/category/update/<id>/api/v1/products/color/<id>
Contains all views, templates and static files
- pip install -r requirements.txt
- export PYTHONPATH="~/Benrays:$PYTHONPATH"
- In one terminal, run: python3 web_flask/app.py
- In another terminal, run:
python3 api/v1/app.py
- Open 127.0.0.1:5000/benrays_store/employees/login/