Skip to content

josex2r/deno-graphql-gcp

Repository files navigation

deno-graphql-gcp

the deno mascot dinosaur standing in the rain

This is a demo of a Deno app to test some technologies:

  • Deno server exposing a Graphql API.
  • Github Actions to run an e2e workflow.
  • Terraform to instantiate GCP services.
  • Google Cloud Containers.
  • Google Cloud Single HTTP Load balancer (stattic + Cloud Run).

Scroll to EOF to see some diagrams.

Running this app

Clone repository:

git clone https://github.com/josex2r/deno-graphql-gcp.git

Install Deno dependencies:

deno cache deps.ts

Run the application in watch mode:

deno run --allow-net --allow-env --watch src/main.ts

Tests

# Format code
deno fmt

# Run linter
deno lint

# Run tests
deno test --allow-none

Deploy

terraform init
terraform get
terraform apply -auto -input=none

GCP diagram

Github Action Workflow

About

Demo of a Graphql API running on Deno

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published