Complete rewrite of Django REST API to Go with: - Gin web framework for HTTP routing - GORM for database operations - GoAdmin for admin panel - Gorush integration for push notifications - Redis for caching and job queues Features implemented: - User authentication (login, register, logout, password reset) - Residence management (CRUD, sharing, share codes) - Task management (CRUD, kanban board, completions) - Contractor management (CRUD, specialties) - Document management (CRUD, warranties) - Notifications (preferences, push notifications) - Subscription management (tiers, limits) Infrastructure: - Docker Compose for local development - Database migrations and seed data - Admin panel for data management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
726 B
YAML
41 lines
726 B
YAML
# Development configuration - use with:
|
|
# docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
|
|
|
|
services:
|
|
db:
|
|
ports:
|
|
- "5433:5432" # Use 5433 to avoid conflicts with other projects
|
|
|
|
redis:
|
|
ports:
|
|
- "6380:6379" # Use 6380 to avoid conflicts
|
|
|
|
api:
|
|
build:
|
|
context: .
|
|
target: api
|
|
environment:
|
|
DEBUG: "true"
|
|
volumes:
|
|
- ./:/app/src:ro # Mount source for debugging
|
|
ports:
|
|
- "8000:8000"
|
|
|
|
worker:
|
|
build:
|
|
context: .
|
|
target: worker
|
|
environment:
|
|
DEBUG: "true"
|
|
volumes:
|
|
- ./:/app/src:ro
|
|
|
|
admin:
|
|
build:
|
|
context: .
|
|
target: admin
|
|
environment:
|
|
DEBUG: "true"
|
|
ports:
|
|
- "9000:9000"
|