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.
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
# Format code
deno fmt
# Run linter
deno lint
# Run tests
deno test --allow-none
terraform init
terraform get
terraform apply -auto -input=none