# Deployment

# Infrastructure

The project consist of the following parts:

  • Frontend is deployed to Netlify's CDN.
  • Node.js functions deployed to GCP Cloud Functions.
  • Hasura server is deployed to Render.

# Ports

Default ports used by each part of the application:

  • 8040: App frontend
  • 4040: Functions dev server
  • 4046: Hasura engine
  • 4047: Hasura console
  • 5432: Postgres dev

# CI/CD

GitHub Actions is used as Continuous Integration & Deployment tool. Its settings page contains all the keys and secrets needed to deploy to both staging and productions.

Scripts for testing, building and deploying on CI are placed at <root>/.ci. Refer to them to see the commands.

Last updated: 6/26/2020, 9:59:26 AM