Stock and Order Management web application built with Django
- User management (registration, login, logout, profile)
- Store management
- Product management per store
- Order management per user
- Interactive tables
- Styled forms
stackerly/
├── app/
│ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
| ├── middlewares.py
│ └── wsgi.py
├── stock/
│ ├── components/
│ ├── management/
│ ├── migrations/
│ ├── static/
│ ├── templates/
│ ├── views/
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
│ ├── forms.py
│ ├── managers.py
│ ├── models.py
│ ├── tests.py
│ ├── urls.py
│ └── utils.py
└── manage.py
-
Clone the repository
git clone <repo-url> cd Stackerly
-
Create and activate a virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Apply database migrations
python manage.py migrate
-
(Optional) Create a superuser
python manage.py createsuperuser
-
Run the development server
python manage.py runserver
Open your browser at --> localhost:8000
Or go to the main web --> stackerly.onrender.com
Sign up or log in to manage stores, products, and orders.
- Django 4.2
- django-tables2
- django-crispy-forms
- crispy-bootstrap5
- django-filter
- polars
- openpyxl
- CustomUser:
username
,email
,first_name
,last_name
,is_superuser
,is_staff
,is_active
,date_joined
,objects
- Location:
name
- BalanceBox:
current_amount
,last_update
,location
- Store:
name
,location
,balance_box
- ProfitLossRecord:
date
,amount
,record_type
,related_store
- Purchase:
purchase_item
,spent
,date
,related_store
- ProductState:
name
- Product:
name
,price
,type
,model
,quantity
,related_store
,state
,last_updated_state
- UserPurchase:
product
,user
,quantity
- Order:
user
,date
- Styles: Located in
stock/static/css/
- Tables: Customizable in
stock/components/tables.py
- Forms: Built with crispy-forms, editable in
stock/forms.py