Check the Wiki for more documentation.
- NodeJS
- NPM
- Vercel
- Clone this project
npm i
: Install all necessary modules for this projectnpm run dev
: Start the local development server- Open
localhost:3000
in your browser to use the application.
GraphQL plugin - For autocomplete, syntax highlighting and inline query execution.
There are NPM Scripts for building the Docker Image and running/stopping the Docker Image as Docker Container. Running the image as container requires a few environment variables to be set.
VERCEL_ENV=development
GRAPHQL_SCHEMA_ENDPOINT=<URL>
AUTH0_DOMAIN=<DOMAIN>
AUTH0_BASE_URL=http://localhost:3000
AUTH0_ISSUER_BASE_URL=<URL>
AUTH0_CLIENT_SECRET=<SECRET>
AUTH0_CLIENT_ID=<ID>
AUTH0_SECRET=<SECRET>
KEYCLOAK_ISSUER=<KEYCLOAK ISSUER>
KEYCLOAK_CLIENT_ID=<ID>
KEYCLOAK_CLIENT_SECRET=<SECRET>
COGNITO_POOL_ID=<POOL ID>
NEXTAUTH_URL=http://localhost:3000
COGNITO_DOMAIN=<DOMAIN>
COGNITO_CLIENT_SECRET=<SECRET>
COGNITO_CLIENT_ID=<ID>
CLOUDSEARCH_SEARCH_URL=<URL>
SANITY_DATASET=<DATASET NAME>
SANITY_PROJECT_ID=<ID>
OMNY_ORGID=<ID>
SANITY_TOKEN=<TOKEN>
The NPM script docker:run
expects a .env
file in the root containing these values and it will be used as the Docker Container environment variables.