| # Variables de entorno del backend PolySignal. | |
| # Copiar este archivo a backend/.env y rellenar los valores. | |
| # El archivo .env real NO debe commitearse (asegurar entrada en .gitignore). | |
| NODE_ENV=development | |
| PORT=7860 | |
| # SQLite path relativo al archivo schema.prisma (backend/prisma/). | |
| DATABASE_URL=file:./polysignal.db | |
| # Auth — generar con: openssl rand -hex 48 | |
| JWT_SECRET=replace-with-64-plus-random-chars | |
| JWT_EXPIRES_IN=1h | |
| BCRYPT_ROUNDS=10 | |
| # CORS del frontend Vite en desarrollo. | |
| CORS_ORIGIN=http://localhost:5173 | |
| # Logger pino (trace | debug | info | warn | error | fatal). | |
| LOG_LEVEL=info | |