#3636th of 45 in Backend and cloud templates
golang-gin-realworld-example-app
Go/Gin REST backend implementing the RealWorld Conduit API with SQLite
- Stars
- 2.7k
- License
- MIT
- Last commit
- Nov 2026
- Language
- Go
2,658 on 21 Apr 20262,724 on 10 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A Go backend built on Gin and GORM v2 that implements the RealWorld (Conduit) API: users, JWT auth, profiles, articles, comments, favorites and pagination. Data is stored in SQLite and the app starts with `go run hello.go` on port 8080 by default. It passes the RealWorld Hurl and Bruno spec suites and reports about 90% test coverage.
Who it is for: Go developers wanting a reference REST API with auth, CRUD and tests
Strengths
- Passes the RealWorld Hurl and Bruno API spec suites, run in CI
- Reported test coverage around 90% (articles, users, common packages)
- Small layout: per-domain models, serializers, routers, middlewares, validators
- Uses current libraries: GORM v2, golang-jwt v5, validator v10
Weaknesses
- No AI or model functionality; it is a plain CRUD API example
- SQLite only; the sqlite driver requires cgo
- No Dockerfile or compose file provided
- Todo list still open: ProtoBuf support, config cleanup, interfaces
What it needs
- Go
- Needs Go 1.21+, SQLite (cgo)
- env example file
Quick answers
Is golang-gin-realworld-example-app open source?
Yes. Its code is on GitHub under the MIT license.
Also in Backend and cloud templates
See all 45| Rank | Project | Score |
|---|---|---|
| 1 | fastapiPython web framework for typed REST APIs with automatic OpenAPI docs | 90 out of 100 |
| 2 | fiberExpress-style HTTP web framework for Go, built on fasthttp | 90 out of 100 |
| 3 | generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends | 90 out of 100 |
| #4 | serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml | 88 out of 100 |
| #5 | echoMinimalist Go web framework with a radix-tree router and middleware | 86 out of 100 |