Skip to content

Deno Ruck web app demonstrating graphql-react functionality using various GraphQL APIs.

Notifications You must be signed in to change notification settings

jaydenseric/graphql-react-examples

Repository files navigation

graphql-react logo

graphql-react examples

A Deno Ruck web app demonstrating graphql-react functionality using various GraphQL APIs.

Requirements

Installation

For a local development installation, create a project scripts/.env.sh file containing the following environment variables, with values customized for your local environment:

# Development or production mode; "true" or "false".
export RUCK_DEV="true"

# The localhost port to serve the Ruck app on.
export RUCK_PORT="3000"

# GitHub access token used with the GitHub GraphQL API.
export ACCESS_TOKEN_GITHUB=""

Scripts

Dev

To load the environment variables from scripts/.env.sh, make the public environment variable modules, and serve the Ruck app:

./scripts/dev.sh

Make public environment variable modules

Important

Requires environment variables.

To make the public environment variable modules:

./scripts/makeEnvModules.sh

Serve

Important

Requires environment variables.

To serve the Ruck app for either development or production:

./scripts/serve.sh

Format

To format the project:

deno fmt

Lint

To lint the project:

deno lint

Type check

Important

Beforehand, run the make public environment variable modules script.

To type check every JavaScript module in the project:

./scripts/type-check.sh

About

Deno Ruck web app demonstrating graphql-react functionality using various GraphQL APIs.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy