24 lines
667 B
Markdown
24 lines
667 B
Markdown
# DELIVER_MAN
|
|
|
|
## Core Functionality
|
|
|
|
- View product inventory with current stock levels.
|
|
- Create orders with customer name and order date.
|
|
- Edit order details (customer name, date) and delete orders.
|
|
- Add items to orders, update item quantities or products, and remove items.
|
|
- Move items between orders.
|
|
- Prevent overselling by validating stock on add/update.
|
|
|
|
## Run via Docker
|
|
|
|
Run client + server + database:
|
|
|
|
```bash
|
|
docker compose up --build
|
|
```
|
|
|
|
Open the client at `http://localhost:8080`.
|
|
|
|
Notes:
|
|
- The API is proxied through the client container to the server at `/api`.
|
|
- The MariaDB schema/data is auto-initialized from `docker/init.sql` on first run. |