refactor: switch database architecture from PostgreSQL to SQLite
This commit is contained in:
4
PLAN.md
4
PLAN.md
@@ -6,7 +6,7 @@ This document outlines the technical architecture for the unified Inventory Syst
|
||||
|
||||
### 1. Backend Server (Linux / Docker)
|
||||
- **Framework:** Python + FastAPI
|
||||
- **Database:** PostgreSQL
|
||||
- **Database:** SQLite (SQLAlchemy ORM)
|
||||
- **Key Modules:**
|
||||
- `Items / Interventions`: Standard CRUD logic.
|
||||
- `Audit`: Every payload that mutates data writes an immutable log row.
|
||||
@@ -24,7 +24,7 @@ This document outlines the technical architecture for the unified Inventory Syst
|
||||
|
||||
## Implementation Phases
|
||||
|
||||
- **Phase 1: Database & Backend Foundation** - Docker setup, PostgreSQL schemas, User management, and Python API structures.
|
||||
- **Phase 1: Database & Backend Foundation** - SQLite schemas, User management, and Python API structures.
|
||||
- **Phase 2: Core Inventory API** - Endpoints to Add/Remove items, offline sync-merge logic, Audit triggers.
|
||||
- **Phase 3: The PWA Frontend** - PWA manifest, offline capabilities, UI scaffolding for Desktop/Mobile.
|
||||
- **Phase 4: Client-Side Scanning** - Integration of local JS barcode reading for routine stock scanning.
|
||||
|
||||
Reference in New Issue
Block a user