chore: adds docker files

This commit is contained in:
vakabunga
2026-03-02 23:22:40 +03:00
parent 6b6ce5cba1
commit b990149bc3
4 changed files with 69 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ Local SPA for family budget tracking: import bank statements, categorize transac
## Monorepo structure
```
```text
family_budget/
├── backend/ — Node.js API server (Express + TypeScript)
├── frontend/ — React SPA (Vite + TypeScript)
@@ -15,13 +15,13 @@ family_budget/
## Tech stack
| Layer | Choice | Rationale |
|----------|------------------------|--------------------------------------------------------|
| Backend | Express + TypeScript | Simple, well-known, sufficient for a small local app |
| Frontend | React + Vite + TS | Fast dev experience, modern tooling |
| Database | PostgreSQL | Deployed on Synology NAS |
| Migrations | Knex | Lightweight, SQL-close, supports seeds |
| Shared | Pure TypeScript types | Zero-runtime, imported by both backend and frontend |
| Layer | Choice | Rationale |
|---------- |------------------------|--------------------------------------------------------|
| Backend | Express + TypeScript | Simple, well-known, sufficient for a small local app |
| Frontend | React + Vite + TS | Fast dev experience, modern tooling |
| Database | PostgreSQL | Deployed on Synology NAS |
| Migrations | Knex | Lightweight, SQL-close, supports seeds |
| Shared | Pure TypeScript types | Zero-runtime, imported by both backend and frontend |
## Prerequisites