feat: bootstrap NestJS backend with auth, stations, users, health-check, now-playing

This commit is contained in:
nk
2026-06-02 13:54:00 +03:00
commit 8aadd62e3c
47 changed files with 13234 additions and 0 deletions

25
.env.example Normal file
View File

@@ -0,0 +1,25 @@
# Database
DATABASE_URL=postgresql://radiola:radiola_pass@localhost:5432/radiola?schema=public
# Redis
REDIS_URL=redis://localhost:6379
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=7d
# SMTP (for magic links)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=noreply@example.com
SMTP_PASS=your-smtp-password
MAIL_FROM=radiOLA <noreply@example.com>
# App
FRONTEND_URL=https://radiola.app
PORT=3000
# Postgres (for docker-compose)
POSTGRES_USER=radiola
POSTGRES_PASSWORD=radiola_pass
POSTGRES_DB=radiola