Overview

Environment Configuration

AZURE_STORAGE_CONNECTION_STRING=your_azure_storage_connection_string
FACEBOOK_APP_ID=your_facebook_app_id
FACEBOOK_APP_SECRET=your_facebook_app_secret
FACEBOOK_CALLBACK_URL=your_facebook_callback_url
GCLOUD_PROJECT=your_gcloud_project
GOOGLE_APP_ID=your_google_app_id
GOOGLE_APP_SECRET=your_google_app_secret
GOOGLE_APPLICATION_CREDENTIALS=/opt/cboard-api/google-auth.json
GOOGLE_PLAY_CREDENTIALS=/opt/cboard-api/google-play-auth.json
GOOGLE_CALLBACK_URL=your_google_callback_url
JWT_SECRET=your_jwt_secret
MONGO_URL=your_mongo_url
REACT_APP_DEV_API_URL=your_react_app_dev_api_url
SENDGRID_API_KEY=your_sendgrid_api_key
Variable Purpose
AZURE_STORAGE_CONNECTION_STRING Azure Blob Storage access for uploaded assets
FACEBOOK_APP_ID / FACEBOOK_APP_SECRET / FACEBOOK_CALLBACK_URL Facebook OAuth login
GCLOUD_PROJECT Google Cloud project ID
GOOGLE_APP_ID / GOOGLE_APP_SECRET / GOOGLE_CALLBACK_URL Google OAuth login
GOOGLE_APPLICATION_CREDENTIALS Path to Google service account credentials file
GOOGLE_PLAY_CREDENTIALS Path to Google Play credentials file
JWT_SECRET Signing secret for auth tokens
MONGO_URL MongoDB connection string
REACT_APP_DEV_API_URL API URL the front-end points to in development
SENDGRID_API_KEY SendGrid API key for transactional email — see Mailing Setup

See also Getting Started for the full local setup flow.

Updated

Was this page helpful?