mgzwarrior / typescript-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript Example

<mgzwarrior>

A simple Node project using Express and Typescript. Created following the tutorial found here.

NOTE

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}

About


Languages

Language:TypeScript 68.6%Language:EJS 28.2%Language:PLpgSQL 1.9%Language:JavaScript 1.3%