Starter Template

Go Gin + GORM REST API

A Go REST API using Gin web framework and GORM ORM with PostgreSQL, JWT middleware, and structured logging for building performant backend services.

  • Go
  • Gin
  • GORM
  • PostgreSQL

Use Case

Best for Go backend APIs needing Gin's fast HTTP routing, GORM ORM with auto-migration, JWT auth middleware, and structured logging.


Quick Start

go mod init my-api && go get github.com/gin-gonic/gin gorm.io/gorm