console/packages/web/app
renovate[bot] ba2dfdfe24
fix(deps): update trpc to v10.9.1 (#1195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2023-02-01 10:24:07 +01:00
..
pages chore(deps): update dependency prettier to v2.8.3 (#1103) 2023-02-01 10:07:14 +01:00
public Adjust title and description of the landing page (#236) 2022-07-11 21:52:00 +02:00
src fix(deps): update trpc to v10.9.1 (#1195) 2023-02-01 10:24:07 +01:00
.babelrc.js Update dependency @theguild/prettier-config to v1 (#676) 2022-11-24 10:00:41 +00:00
.env.template Partial dependencies upgrade and cleanup for old packages (#904) 2022-12-28 00:36:08 +02:00
.gitignore Replace tgz artifacts with Docker images and refactor all CI pipelines (#808) 2022-12-20 16:34:46 +02:00
environment.ts prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
modules.d.ts Partial dependencies upgrade and cleanup for old packages (#904) 2022-12-28 00:36:08 +02:00
next-env.d.ts Hello 2022-05-18 09:26:57 +02:00
next.config.mts Use /view prefix to avoid route collisions (#1108) 2023-01-24 10:16:25 +01:00
package.json fix(deps): update trpc to v10.9.1 (#1195) 2023-02-01 10:24:07 +01:00
postcss.config.js New redesign (#4) 2022-05-24 09:41:53 +02:00
README.md Update dependency @theguild/prettier-config to v1 (#676) 2022-11-24 10:00:41 +00:00
tailwind.config.js adjust viewport breakpoints (#65) 2022-05-24 17:18:27 +03:00
tsconfig.json TS skipLibCheck everywhere, starting from root tsconfig (#588) 2022-11-03 15:00:58 +00:00
twin.d.ts New redesign (#4) 2022-05-24 09:41:53 +02:00

@hive/app

The Hive application as seen on https://app.graphql-hive.com/.

Configuration

The following environment variables configure the application.

Name Required Description Example Value
APP_BASE_URL Yes The base url of the app, https://app.graphql-hive.com
SERVER_ENDPOINT Yes The endpoint of the Hive server. http://127.0.0.1:4000
GRAPHQL_ENDPOINT Yes The endpoint of the Hive GraphQL API. http://127.0.0.1:4000/graphql
EMAILS_ENDPOINT Yes The endpoint of the GraphQL Hive Email service. http://127.0.0.1:6260
SUPERTOKENS_CONNECTION_URI Yes The URI of the SuperTokens instance. http://127.0.0.1:3567
SUPERTOKENS_API_KEY Yes The API KEY of the SuperTokens instance. iliketurtlesandicannotlie
INTEGRATION_SLACK No Whether the Slack integration is enabled or disabled. 1 (enabled) or 0 (disabled)
INTEGRATION_SLACK_SLACK_CLIENT_ID No (Yes if INTEGRATION_SLACK is set) The Slack client ID. g6aff8102efda5e1d12e
INTEGRATION_SLACK_SLACK_CLIENT_SECRET No (Yes if INTEGRATION_SLACK is set) The Slack client secret. g12e552xx54xx2b127821dc4abc4491dxxxa6b187
INTEGRATION_GITHUB_APP_NAME No The GitHub application name. graphql-hive-self-hosted
AUTH_GITHUB No Whether login via GitHub should be allowed 1 (enabled) or 0 (disabled)
AUTH_GITHUB_CLIENT_ID No (Yes if AUTH_GITHUB is set) The GitHub client ID. g6aff8102efda5e1d12e
AUTH_GITHUB_CLIENT_SECRET No (Yes if AUTH_GITHUB is set) The GitHub client secret. g12e552xx54xx2b127821dc4abc4491dxxxa6b187
AUTH_GOOGLE No Whether login via Google should be allowed 1 (enabled) or 0 (disabled)
AUTH_GOOGLE_CLIENT_ID No (Yes if AUTH_GOOGLE is set) The Google client ID. g6aff8102efda5e1d12e
AUTH_GOOGLE_CLIENT_SECRET No (Yes if AUTH_GOOGLE is set) The Google client secret. g12e552xx54xx2b127821dc4abc4491dxxxa6b187
AUTH_ORGANIZATION_OIDC No Whether linking a Hive organization to an Open ID Connect provider is allowed. (Default: 0) 1 (enabled) or 0 (disabled)
AUTH_OKTA No Whether login via Okta should be allowed 1 (enabled) or 0 (disabled)
AUTH_OKTA_CLIENT_ENDPOINT No (Yes if AUTH_OKTA is set) The Okta endpoint. https://dev-1234567.okta.com
AUTH_OKTA_HIDDEN No Whether the Okta login button should be hidden. (Default: 0) 1 (enabled) or 0 (disabled)
AUTH_OKTA_CLIENT_ID No (Yes if AUTH_OKTA is set) The Okta client ID. g6aff8102efda5e1d12e
AUTH_OKTA_CLIENT_SECRET No (Yes if AUTH_OKTA is set) The Okta client secret. g12e552xx54xx2b127821dc4abc4491dxxxa6b187
AUTH_REQUIRE_EMAIL_VERIFICATION No Whether verifying the email address is mandatory. 1 (enabled) or 0 (disabled)
ENVIRONMENT No The environment of your Hive app. (Note: This will be used for Sentry reporting.) staging
SENTRY_DSN No The DSN for reporting errors to Sentry. https://dooobars@o557896.ingest.sentry.io/12121212
SENTRY_ENABLED No Whether Sentry error reporting should be enabled. 1 (enabled) or 0 (disabled)
DOCS_URL No The URL of the Hive Docs https://docs.graphql-hive.com
NODE_ENV No The NODE_ENV value. production
GA_TRACKING_ID No The token for Google Analytics in order to track user actions. g6aff8102efda5e1d12e
CRISP_WEBSITE_ID No The Crisp Website ID g6aff8102efda5e1d12e

Hive Hosted Configuration

This is only important if you are hosting Hive for getting 💰.

Payments

Name Required Description Example Value
STRIPE_PUBLIC_KEY No The Stripe Public Key. g6aff8102efda5e1d12e

Legacy Auth0 Configuration

If you are not self-hosting GraphQL Hive, you can ignore this section. It is only required for the legacy Auth0 compatibility layer.

Name Required Description Example Value
AUTH_LEGACY_AUTH0 No Whether the legacy Auth0 import is enabled. 1 (enabled) or 0 (disabled)
AUTH_LEGACY_AUTH0_CLIENT_ID No (Yes if AUTH_LEGACY_AUTH0 is set) The Auth0 client ID. rDSpExxD8sfqlpF1kbxxLkMNYI2Sxxx
AUTH_LEGACY_AUTH0_CLIENT_SECRET No (Yes if AUTH_LEGACY_AUTH0 is set) The Auth0 client secret. e43f156xx54en2b56117dc4abc4491dxxbb6b187
AUTH_LEGACY_AUTH0_ISSUER_BASE_URL No (Yes if AUTH_LEGACY_AUTH0 is set) The Auth0 issuer base url. https://your-project.us.auth0.com
AUTH_LEGACY_AUTH0_AUDIENCE No (Yes if AUTH_LEGACY_AUTH0 is set) The Auth0 audience https://your-project.us.auth0.com/api/v2/
AUTH_LEGACY_AUTH0_INTERNAL_API_ENDPOINT No (Yes if AUTH_LEGACY_AUTH0 is set) The internal endpoint for importing Auth0 accounts. (Note: This route is within the GraphQL service.) http://127.0.0.1:4000/__legacy
AUTH_LEGACY_AUTH0_INTERNAL_API_KEY No (Yes if AUTH_LEGACY_AUTH0 is set) The internal endpoint key. iliketurtles

Building the Docker Image

Prerequisites: Make sure you built the mono-repository using pnpm build.

docker build . --build-arg RELEASE=stable-main -t graphql-hive/app