console/packages/web/app
2024-06-21 09:41:17 +00:00
..
.storybook Target setting new design (#4241) 2024-06-04 13:15:09 +02:00
public Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +02:00
src [laboratory] collections select should contain description (#4977) 2024-06-15 08:09:01 +00:00
.env.template Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +02:00
.gitignore Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +02:00
index.html Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +02:00
package.json Upgrade fastify to v4.28.0 (#5005) 2024-06-21 09:41:17 +00:00
postcss.config.cjs remove chakra, emotion from Hive web app (#1412) 2023-02-22 08:41:00 +01:00
README.md Move SuperTokens-node to GraphQL server (#4288) 2024-03-26 13:42:56 +01:00
tailwind.config.cjs Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +02:00
tsconfig.json Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +02:00
vite.config.ts Replace Next with Vite + tanstack/router (#4612) 2024-05-17 14:30:10 +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
GRAPHQL_PUBLIC_ENDPOINT Yes The public endpoint of the Hive GraphQL API. http://127.0.0.1:4000/graphql
GRAPHQL_PUBLIC_ORIGIN Yes The http address origin of the Hive GraphQL server. http://127.0.0.1:4000/
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_GOOGLE No Whether login via Google should be allowed 1 (enabled) or 0 (disabled)
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_HIDDEN No Whether the Okta login button should be hidden. (Default: 0) 1 (enabled) or 0 (disabled)
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://the-guild.dev/graphql/hive/docs
NODE_ENV No The NODE_ENV value. production
GA_TRACKING_ID No The token for Google Analytics in order to track user actions. g6aff8102efda5e1d12e
GRAPHQL_PERSISTED_OPERATIONS No Send persisted operation hashes instead of documents to the
server. 1 (enabled) or 0 (disabled)

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

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