Logo
Explore Help
Register Sign In
millaguie/trenes
1
0
Fork 0
You've already forked trenes
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
v0.1.1
trenes/backend/.env.example

21 lines
410 B
Plaintext
Raw Permalink Normal View History

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
# 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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API