Chapter 1

Scaffold + Tour

grit new --api and a deep tour of the Go-only project shape.

~17 min total3 lessonsAssignment

By the end of this chapter you'll be able to

  • Scaffold an API-only project
  • Identify every Go file
  • Run + curl /api/health

Chapter assignment

Scaffold, run, and document

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.

See success criteria

Lesson 1 takes ~5 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub