Initial commit: Purrse personal finance app
Self-hosted, plugin-extensible personal finance manager built with ASP.NET Core 9.0, Vue 3 + Vuetify 3, and PostgreSQL 17. Backend (8 .NET projects): - Core: 19 domain models, 6 enums, 14 DTOs, 12 service interfaces - Data: EF Core DbContext, 16 entity configurations, category seeder - API: 14 controllers, 15 services, JWT auth, SignalR, middleware - Plugins: Abstractions + OFX/CSV/QIF file parsers - Tests: 28 xUnit tests (fingerprinting, duplicate detection, parsers) Frontend (Vue 3 + Vuetify 3 + TypeScript): - 13 views, Pinia stores, Axios API services with JWT interceptors - Dashboard, accounts, transactions, categories, imports, and more Deployment: - Docker Compose (PostgreSQL 17 + .NET API + nginx frontend) - Auto-migration on startup Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:17-alpine
|
||||
container_name: purrse-db
|
||||
environment:
|
||||
POSTGRES_DB: purrse
|
||||
POSTGRES_USER: purrse
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD:-purrse_dev}
|
||||
ports:
|
||||
- "5433:5432"
|
||||
volumes:
|
||||
- purrse-db-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U purrse"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: src/Purrse.Api/Dockerfile
|
||||
container_name: purrse-api
|
||||
environment:
|
||||
- ConnectionStrings__DefaultConnection=Host=db;Port=5432;Database=purrse;Username=purrse;Password=${DB_PASSWORD:-purrse_dev}
|
||||
- Jwt__Key=${JWT_KEY:-PurrseDefaultSecretKey_ChangeInProduction_AtLeast32Chars!}
|
||||
- Jwt__Issuer=Purrse
|
||||
- Jwt__Audience=Purrse
|
||||
- Cors__Origins__0=http://localhost:8080
|
||||
- Plugins__Path=/app/plugins
|
||||
- Imports__WatchPath=/app/imports
|
||||
ports:
|
||||
- "5000:8080"
|
||||
volumes:
|
||||
- purrse-plugins:/app/plugins
|
||||
- purrse-imports:/app/imports
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
container_name: purrse-frontend
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- api
|
||||
|
||||
volumes:
|
||||
purrse-db-data:
|
||||
purrse-plugins:
|
||||
purrse-imports:
|
||||
Reference in New Issue
Block a user