Deno Ruck web app demonstrating graphql-react functionality using various GraphQL APIs.
See the codeA Deno Ruck web app demonstrating
graphql-react functionality
using various GraphQL APIs.
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=""
To load the environment variables from scripts/.env.sh, make the public
environment variable modules, and serve the Ruck app:
./scripts/dev.sh
[!IMPORTANT]
Requires environment variables.
To make the public environment variable modules:
./scripts/makeEnvModules.sh
[!IMPORTANT]
Requires environment variables.
To serve the Ruck app for either development or production:
./scripts/serve.sh
To format the project:
deno fmt
To lint the project:
deno lint
[!IMPORTANT]
Beforehand, run the make public environment variable modules script.
To type check every JavaScript module in the project:
./scripts/type-check.sh
165 followers · starred May 2018
JavaScript
93.3%
Shell
5.1%
CSS
1.0%
Deno Ruck web app demonstrating graphql-react functionality using various GraphQL APIs.
See the codeA Deno Ruck web app demonstrating
graphql-react functionality
using various GraphQL APIs.
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=""
To load the environment variables from scripts/.env.sh, make the public
environment variable modules, and serve the Ruck app:
./scripts/dev.sh
[!IMPORTANT]
Requires environment variables.
To make the public environment variable modules:
./scripts/makeEnvModules.sh
[!IMPORTANT]
Requires environment variables.
To serve the Ruck app for either development or production:
./scripts/serve.sh
To format the project:
deno fmt
To lint the project:
deno lint
[!IMPORTANT]
Beforehand, run the make public environment variable modules script.
To type check every JavaScript module in the project:
./scripts/type-check.sh
165 followers · starred May 2018
JavaScript
93.3%
Shell
5.1%
CSS
1.0%