Chapter 1 Assignment

Scaffold, run, and document

The brief

Scaffold `bench-api --api`, get it running, hit /api/health, and capture a short README in your notes.md describing what each top-level folder is for.

You've completed this when

  • `grit new bench-api --api` ran to completion
  • GET /api/health returns 200 with the version envelope
  • notes.md describes apps/api/cmd/server/, internal/, and the root .env in one sentence each

Worked through every criterion?

Push your code to GitHub, paste the link in your notes.md, and move on.

Continue to ch.2: Modeling with GORM