20 lines
396 B
Bash
20 lines
396 B
Bash
# Database
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/blog_db?schema=public"
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
|
|
# JWT
|
|
JWT_SECRET=your-secret-key-change-this-in-production
|
|
JWT_EXPIRES_IN=7d
|
|
JWT_REFRESH_SECRET=your-refresh-secret-key-change-this
|
|
JWT_REFRESH_EXPIRES_IN=30d
|
|
|
|
# Server
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# Cookie
|
|
COOKIE_SECRET=your-cookie-secret-change-this
|