Initialize environment configuration and enhance API logging

- Added a new .env file for environment variables including database and Redis configurations.
- Updated CLAUDE.md with hard rules for development practices.
- Enhanced package.json with new scripts for development and infrastructure management.
- Integrated Pino for structured logging in the API, replacing the default NestJS logger.
- Implemented OpenTelemetry for tracing and monitoring in the API.
- Added durationMinutes field to the Mission model in Prisma schema and created corresponding migration.
- Updated missions controller and service to handle mission duration and abandonment logic.
- Introduced new logger module for consistent logging across the application.
This commit is contained in:
Maurycy
2026-05-11 08:38:19 +00:00
parent 21f1a5319f
commit 0031ef0a8f
107 changed files with 3948 additions and 725 deletions

5
.env Normal file
View File

@@ -0,0 +1,5 @@
DATABASE_URL="postgresql://fog:fog_dev@172.20.0.3:5432/fog_expedition"
REDIS_HOST="172.20.0.2"
REDIS_PORT="6379"
TWITCH_EXTENSION_SECRET="dev_secret_placeholder"
DEV_AUTH_BYPASS="true"