1
0
Fork 0
nodejs-backend-template/.env.example

24 lines
424 B
Bash

# SERVICE
PORT=8000
NODE_ENV=production
SERVICE_NAME=nwa
# DATABASE
DB_HOST=localhost
DB_USER=postgres
DB_PASSWORD=secret
DB_NAME=postgres
DB_DIALECT=postgres
# USERS
USER_JWT_ACCESS_SECRET=secret
USER_JWT_REFRESH_SECRET=secret
USER_JWT_ACCESS_EXPIRE=3600
USER_JWT_REFRESH_EXPIRE=36000
# ADMINS
ADMIN_JWT_ACCESS_SECRET=secret
ADMIN_JWT_REFRESH_SECRET=secret
ADMIN_JWT_ACCESS_EXPIRE=259200
ADMIN_JWT_REFRESH_EXPIRE=259200