File size: 597 Bytes
71b8eb2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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