34 lines
943 B
Plaintext
34 lines
943 B
Plaintext
# Environment
|
|
NODE_ENV = development
|
|
|
|
# App Environment
|
|
APP_URL = http://localhost:4200
|
|
|
|
# DB
|
|
DB_HOST = localhost
|
|
DB_PORT = 5432
|
|
DB_USERNAME = root
|
|
DB_PASSWORD = root
|
|
DB_NAME = ticket_mvp
|
|
|
|
# CORS
|
|
CORS_ALLOW_ORIGIN=http://localhost:4200,http://localhost:5000,null
|
|
CORS_ALLOW_METHODS = GET,POST,PUT,DELETE,OPTIONS
|
|
CORS_ALLOW_HEADERS = Origin,X-Requested-With,Content-Type,Accept,Authorization
|
|
|
|
# CSP
|
|
CSP_DIRECTIVES="default-src 'self' http://localhost:4200; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:4200; style-src 'self' 'unsafe-inline' http://localhost:4200; img-src 'self' data:; connect-src 'self' http://localhost:4200; font-src 'self' http://localhost:4200; frame-src 'self'; object-src 'none'"
|
|
|
|
# SESSION Secret
|
|
SESSION_SECRET = secret
|
|
SESSION_LIMIT = 1
|
|
|
|
# API KEY
|
|
SEND_GRID_API_KEY = API_KEY
|
|
|
|
# SENDGRID
|
|
SENDGRID_TEMPLATE_PASSWORD_CONFIRMATION_EMAIL = TEMPLATE_ID
|
|
SENDGRID_TEMPLATE_REGISTER_EMAIL = TEMPLATE_ID
|
|
|
|
|