tsmarsh / utility-helper

Demonstrates how to apply gridql to a work project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utility Helper

This is a tech demo to show how to configure GridQL to be an actual application.

Like all good demos this would actually scratch a real itch that I have at work, but all names etc have been changed to protect the guilty.

Hopefully you will see around 15 'forms' arranged into roughly 30 microservices and a probably a similar number of supporting FaaS.

Ground Rules

Developer workflow

  1. A developer must be able to clone this,
  2. Run docker build -t <tag> .
  3. run docker-compose up and see
    1. mongo start
    2. kubernetes start
    3. mongo-event-builders start
  4. Run node index and have the application run against compose
  5. Run docker run -t -v "$(pwd)/docker_environment:/app/config/environment" -p 3000:3000 <tag> and have the image run against compose
  6. Query the application http://localhost:3030 and be presented with a screen that describes what to do next
  7. Run the jmeter tests and see whats up

As you can see most of that is work that has yet to happen. Leave me alone.

Releasing

  1. The image created during the developer workflow must be releasable
    1. that is, it should be identical to the image created by the pipeline.
  2. There will be a github action that releases the app into GCP
  3. Terraform configuration
    • Terraform Remote configured (GCP)
    • Atlas
    • Confluent Cloud
    • GKP
  4. There will be a performance suite that runs in the cloud against a 'real' environment.

About

Demonstrates how to apply gridql to a work project


Languages

Language:HCL 49.7%Language:JavaScript 47.3%Language:Gherkin 1.6%Language:Shell 1.0%Language:Dockerfile 0.3%