Initialize pnpm monorepo with Docker Compose for PostgreSQL

This commit is contained in:
2026-04-12 17:01:37 -07:00
commit c98d1a98f2
6 changed files with 10563 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# Dependencies
node_modules/
# Build output
dist/
build/
# Environment variables (all paths)
**/.env
**/.env.*
!**/.env.example
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Coverage
coverage/
# Prisma
/generated/prisma
# Logs
*.log
# Uploads
uploads/
# Claude
.claude/
CLAUDE.md
+7
View File
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"trailingComma": "all",
"semi": true,
"printWidth": 100,
"tabWidth": 2
}
+14
View File
@@ -0,0 +1,14 @@
services:
postgres:
image: postgres:15-alpine
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: development_password
POSTGRES_DB: tehriehlbudget
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
+27
View File
@@ -0,0 +1,27 @@
{
"name": "tehriehlbudget",
"version": "0.0.1",
"private": true,
"description": "Self-hosted personal finance application",
"scripts": {
"dev:frontend": "pnpm --filter tehriehlbudget-frontend dev",
"dev:backend": "pnpm --filter tehriehlbudget-backend start:dev",
"build:frontend": "pnpm --filter tehriehlbudget-frontend build",
"build:backend": "pnpm --filter tehriehlbudget-backend build",
"test": "pnpm --filter tehriehlbudget-backend test && pnpm --filter tehriehlbudget-frontend test",
"test:backend": "pnpm --filter tehriehlbudget-backend test",
"test:frontend": "pnpm --filter tehriehlbudget-frontend test",
"test:coverage": "pnpm --filter tehriehlbudget-backend test:cov && pnpm --filter tehriehlbudget-frontend test:coverage",
"lint": "pnpm --filter tehriehlbudget-backend lint && pnpm --filter tehriehlbudget-frontend lint",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\""
},
"pnpm": {
"onlyBuiltDependencies": [
"@nestjs/core",
"@prisma/engines",
"prisma",
"unrs-resolver"
]
}
}
+10475
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
packages:
- "tehriehlbudget-frontend"
- "tehriehlbudget-backend"