Helsingin yliopiston ohjelmistotuotannon kurssin harjoitusrepositorio
This application includes a web-based user interface for warehouse management, built with Flask.
- Create Warehouses: Create multiple warehouses with custom names and capacities measured in cubic meters (m³)
- Multiple Items: Each warehouse can store different items (e.g., beer, wine, water)
- Flexible Units: Track items in different units:
- Cubic Meters (m³) - for bulk storage
- Liters (L) - for liquids
- Units/Bottles - for individual items
- View Warehouses: See all warehouses with their used/available space
- Edit Warehouses: Update warehouse names
- Delete Warehouses: Remove warehouses that are no longer needed
- Add/Update/Remove Items: Manage individual items within each warehouse
- Dark Mode UI: Modern, sleek dark-themed interface
-
Install dependencies:
poetry install
-
Run the application:
poetry run python src/app.py
-
Open your browser and navigate to
http://localhost:5000
FLASK_SECRET_KEY: Secret key for session management (optional, auto-generated if not set)FLASK_DEBUG: Set totrueto enable debug mode (default:false)
- Flask (>=3.1.2): Web framework for Python
- Jinja2: Template engine for rendering HTML
- Python 3.12+: Programming language