- Split server.js routes into modular files (server/routes/) - departures.js: Departure data endpoints - sites.js: Site search and nearby sites - config.js: Configuration endpoints - Reorganized file structure following Node.js best practices: - Moved sites-config.json to config/sites.json - Moved API_RESPONSE_DOCUMENTATION.md to docs/ - Moved raspberry-pi-setup.sh to scripts/ - Archived legacy files to archive/ directory - Updated all code references to new file locations - Added archive/ to .gitignore to exclude legacy files from repo - Updated README.md with new structure and organization - All functionality tested and working correctly Version: 1.2.0
12 lines
297 B
Plaintext
12 lines
297 B
Plaintext
# Server Configuration
|
|
PORT=3002
|
|
|
|
# OpenWeatherMap API Key
|
|
# Get your API key from: https://openweathermap.org/api
|
|
OPENWEATHERMAP_API_KEY=your_openweathermap_api_key_here
|
|
|
|
# Default Location (Stockholm, Sweden)
|
|
DEFAULT_LATITUDE=59.3293
|
|
DEFAULT_LONGITUDE=18.0686
|
|
DEFAULT_LOCATION_NAME=Stockholm
|