invoice-api

27 Sep 2025 • 1 min read

A small invoicing REST API in Go — a deliberate exercise in clean layering.

A compact invoicing REST API written in Go, structured around the standard cmd / internal / pkg layout with migrations and Docker Compose for local development.

This one was less about the domain and more about the shape: keeping handlers thin, keeping business rules out of the transport layer, and making the whole thing runnable by a stranger with a single docker compose up.

Stack

Go · Gin · GORM · PostgreSQL · Docker Compose · Make

Start searching

Enter keywords to search articles.