Files
trenes/backend/.env.example
Millaguie 34c0cb50c7
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Successful in 27s
CI - Lint and Build / lint-backend (push) Failing after 30s
CI - Lint and Build / lint-frontend (push) Failing after 2s
CI - Lint and Build / build-frontend (push) Has been skipped
CI - Lint and Build / docker-build-test (push) Has been skipped
feat: Initial commit - Train tracking system
Complete real-time train tracking system for Spanish railways (Renfe/Cercanías):

- Backend API (Node.js/Express) with GTFS-RT polling workers
- Frontend dashboard (React/Vite) with Leaflet maps
- Real-time updates via Socket.io WebSocket
- PostgreSQL/PostGIS database with Flyway migrations
- Redis caching layer
- Docker Compose configuration for development and production
- Gitea CI/CD workflows (lint, auto-tag, release)
- Production deployment with nginx + Let's Encrypt SSL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 00:21:15 +01:00

21 lines
410 B
Plaintext

# API Configuration
PORT=3000
NODE_ENV=development
LOG_LEVEL=info
# Database
DATABASE_URL=postgresql://trenes_user:trenes_password@localhost:5432/trenes_db
# Redis
REDIS_URL=redis://:redis_password@localhost:6379
# GTFS-RT
GTFS_RT_URL=https://gtfsrt.renfe.com/vehicle_positions.pb
POLLING_INTERVAL=30000
# CORS
CORS_ORIGIN=http://localhost:3000,http://localhost:5173
# JWT
JWT_SECRET=your_jwt_secret_here