A simple Node project using Express and Typescript. Created following the tutorial found here.
Do not add the .env file to source control. Each environment requires a custom .env file. Use the following values in the .env file when deploying to production.
# Set to production when deploying to production
NODE_ENV=production
# Node.js server configuration
SERVER_PORT=8080
HOST_URL=http://{appDomain}
SESSION_SECRET={randomSessionSecret}
# Okta configuration
OKTA_ORG_URL=https://{oktaDomain}
OKTA_CLIENT_ID={clientId}
OKTA_CLIENT_SECRET={clientSecret}
# Postgres configuration
PGHOST={postgresDomain}
PGUSER={postgresUser}
PGDATABASE={databaseName}
PGPASSWORD={postgresUserPassword}
PGPORT={postgresPort}