Dream-MachineProcurementList/src
Chever John 4557728932
Adds Docker setup and basic API endpoints
WHAT: Introduces Dockerfiles for development and production, Docker Compose configurations, a Makefile for common tasks, shell scripts for environment setup/teardown, a basic Express API with SQLite integration.
WHY: Enables easy setup and deployment of the application using Docker. Provides basic API endpoints for managing purchase items.
HOW:
- Creates `docker-compose.dev.yml` and `docker-compose.prod.yml` to define services and volumes.
- Introduces `Dockerfile.dev` and `Dockerfile.prod` to build container images with necessary dependencies.
- Adds `Makefile` with commands for building, running, and managing the application.
- Implements shell scripts for simplified Docker environment management.
- Sets up Express API with endpoints for CRUD operations on purchase items, using SQLite as the database.
- Uses `better-sqlite3` to connect and interact with the SQLite database.
2025-08-21 14:46:11 +08:00
..
components add whole project 2025-08-21 11:07:54 +08:00
features/purchase/components add whole project 2025-08-21 11:07:54 +08:00
hooks add whole project 2025-08-21 11:07:54 +08:00
lib Adds Docker setup and basic API endpoints 2025-08-21 14:46:11 +08:00
pages Adds Docker setup and basic API endpoints 2025-08-21 14:46:11 +08:00
store Adds Docker setup and basic API endpoints 2025-08-21 14:46:11 +08:00
types add whole project 2025-08-21 11:07:54 +08:00
App.tsx add whole project 2025-08-21 11:07:54 +08:00
index.css add whole project 2025-08-21 11:07:54 +08:00
main.tsx add whole project 2025-08-21 11:07:54 +08:00
types.ts add whole project 2025-08-21 11:07:54 +08:00
vite-env.d.ts add whole project 2025-08-21 11:07:54 +08:00