Living in T̶o̶x̶i̶c̶ Environments

What is Environment?

Why is there a need?

The Environments

Development

Staging

Production

How do we set up our environment in PPL

DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_PORT=
DB_NAME=
PORT=
FORWARD_PORT=
GIN_MODE=
GOOGLE_APPLICATION_CREDENTIALS=
SERVER_PATH_GOOGLE_APPLICATION_CREDENTIALS=
GCS_PROJECT_ID=
GCS_BUCKET_NAME=
GCS_UPLOAD_PATH=
TALENTA_HMAC_USERNAME=
TALENTA_HMAC_SECRET=

JWT_PRIVATE_KEY=
WHITELISTED_EMAIL_DOMAINS=

GOOGLE_OAUTH_CLIENT_ID=
NEXT_PUBLIC_API_URL=
NEXT_PUBLIC_APP_ENV=
NEXTAUTH_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

Final Words

  • Production Environment: The environment used by the end user of your software
  • Development Environment: The environment you use when you create software
  • Environment: The Operating System, API calls and databases used by software
  • Staging Environment: An environment somewhere between Development and Production

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store