/hello-12factor-app

Microservice template using 12factor.net app design principles

Primary LanguageShellMIT LicenseMIT

Prerequisites

Develop

  • Startup local Kubernetes cluster following docs in the Prerequisites
  • ./stack dev <tool> # Launch app with hot-reloading. tool can be odo, skaffold, or tilt
    • See help: odo -h or skaffold -h or tilt -h
  • Test
    • Request
      curl -s "localhost:8000/hello?name=foo"
      
    • Response
      {"greetings":"Hello, foo!"}
      

Deploy

See ./stack -h