Massad/gin-boilerplate resource
The fastest way to deploy a RESTful API with Gin Framework — PostgreSQL, JWT auth, Redis, PDF generation, and Swagger docs out of the box. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 85
- Release rhythm 43
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3803
- days_rel: 169
- days_push: 91
- n_releases_24m: 1
Adoption not part of the score
1220 stars · 219 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go boilerplate project for quickly deploying RESTful APIs using the Gin web framework. It ships with PostgreSQL (via sqlx), JWT authentication backed by Redis, CORS/RequestID/Auth middleware, PDF generation, and Swagger documentation out of the box.
Use cases
- bootstrap a REST API in Go with Gin
- add JWT authentication with Redis token storage to a Go API
- generate PDF invoices from a Go web service
- set up Swagger documentation for a Gin API
- start a Go project with PostgreSQL and JSONB queries
- quickly scaffold an API with CORS and request ID middleware
When to choose
- you want a ready-made Gin + PostgreSQL + Redis starting point
- you need JWT auth and Swagger docs wired up from day one
- you're building a Go REST API and want sensible project structure and middleware included
When to avoid
- you use an ORM-first stack or a database other than PostgreSQL
- you need a framework-agnostic or microservice-template solution rather than Gin
- you want a production-hardened, batteries-included framework instead of a starter template you must extend
Facets
learning-resource · maturity active
web-framework auth caching database-driver pdf api-framework middleware api-documentation web-development backend developer-tools apis go windows cross-platform gin-framework restful-api jwt-authentication postgresql redis sqlx swagger starter-template cors invoice-pdf boilerplate linux macos
1 source
- readme: https://github.com/Massad/gin-boilerplate · fetched 2026-08-28 · cc02daaae46e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Massad/gin-boilerplate | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="Massad/gin-boilerplate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem