Adding Features



In this section, we add many extras and nice to haves to our application, showing off the compounding capabilities of code generation.

  • seed data (CUE data by user read by application)
  • configuration & secrets (using hof gen CUE writing capability) (0.6.1)
  • some (very) basic auth and apikeys
  • consistent logging format
  • CI / Docker / Kubernetes / Makefile / GitHub Actions
  • CLI, show how to use subgens
  • Nested routes and resources
  • watch for changes with hof flow

The full code for this section can be found on GitHub code/first-example/more-features

2022 Hofstadter, Inc