What environment variables are available in a project?

Aside from those you specify yourself in the .env file in your project, the following environment variables are available to all projects:

  • PORT – the port your project uses, which defaults to port 3000
  • PROJECT_DOMAIN – Contains your project’s name, useful for programmatically specifying your project’s URL
  • PROJECT_ID – the ID of your project
  • PROJECT_INVITE_TOKEN – Useful if you want to invite people automatically to edit your project

Project Options
Article last updated on