Files
url_tracker_tool/.env.example
Andrei 956f1aeadb feat(phase-0): setup Docker Compose with TypeScript monorepo structure
- Create monorepo structure with apps/ and packages/
- Add Docker Compose for api, web, db, redis, worker services
- Migrate existing Express.js logic to TypeScript with 100% backward compatibility
- Preserve all existing API endpoints (/api/track, /api/v1/track) with identical behavior
- Setup development environment with hot reload and proper networking
- Add comprehensive TypeScript configuration with path mapping
- Include production-ready Dockerfiles with multi-stage builds
- Maintain existing rate limiting (100 req/hour/IP) and response formats
- Add health checks and graceful shutdown handling
- Setup Turbo for efficient monorepo builds and development
2025-08-18 07:03:08 +00:00

24 lines
449 B
Plaintext

# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/redirect_intelligence"
# Redis
REDIS_URL="redis://localhost:6379"
# API
PORT=3333
NODE_ENV=development
JWT_SECRET="your-super-secret-jwt-key-change-in-production"
# Frontend
WEB_URL="http://localhost:3000"
REACT_APP_API_URL="http://localhost:3333"
# Optional: Google Safe Browsing API
GOOGLE_SAFE_BROWSING_API_KEY=""
# Logging
LOG_LEVEL=info
# Worker
WORKER_CONCURRENCY=5