mvp-ticket/backend/.env.template

33 lines
883 B
Plaintext
Raw Permalink Normal View History

2024-09-19 14:19:50 +02:00
# 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_REGISTER_EMAIL = TEMPLATE_ID