Completed Features:
- Full JWT authentication system with refresh tokens
- User registration and login with device fingerprinting
- Child profile CRUD operations with permission-based access
- Family management with roles and permissions
- Database migrations for core auth and family structure
- Comprehensive test coverage (37 unit + E2E tests)
Tech Stack:
- NestJS backend with TypeORM
- PostgreSQL database
- JWT authentication with Passport
- bcrypt password hashing
- Docker Compose for infrastructure
🤖 Generated with Claude Code
66 lines
1.4 KiB
YAML
66 lines
1.4 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
container_name: maternal-postgres
|
|
environment:
|
|
POSTGRES_DB: maternal_app
|
|
POSTGRES_USER: maternal_user
|
|
POSTGRES_PASSWORD: maternal_dev_password_2024
|
|
ports:
|
|
- "5555:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- maternal-network
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: maternal-redis
|
|
ports:
|
|
- "6666:6379"
|
|
volumes:
|
|
- redis_data:/data
|
|
networks:
|
|
- maternal-network
|
|
command: redis-server --appendonly yes
|
|
|
|
mongodb:
|
|
image: mongo:6
|
|
container_name: maternal-mongodb
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: maternal_admin
|
|
MONGO_INITDB_ROOT_PASSWORD: maternal_mongo_password_2024
|
|
MONGO_INITDB_DATABASE: maternal_ai_chat
|
|
ports:
|
|
- "27777:27017"
|
|
volumes:
|
|
- mongodb_data:/data/db
|
|
networks:
|
|
- maternal-network
|
|
|
|
minio:
|
|
image: minio/minio:latest
|
|
container_name: maternal-minio
|
|
environment:
|
|
MINIO_ROOT_USER: maternal_minio_admin
|
|
MINIO_ROOT_PASSWORD: maternal_minio_password_2024
|
|
ports:
|
|
- "9002:9000"
|
|
- "9003:9001"
|
|
volumes:
|
|
- minio_data:/data
|
|
networks:
|
|
- maternal-network
|
|
command: server /data --console-address ":9001"
|
|
|
|
networks:
|
|
maternal-network:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|
|
mongodb_data:
|
|
minio_data: |