go-rest-boilerplate
A great starting point for building RESTful APIs in Go using Gin framework and sqlx for connecting to a PostgreSQL database. The implementation follows Clean Architecture principles as described by Uncle Bob.
golangtemplateboilerplaterestrest-apiclean-codeboilerplate-templateclean-architectureginrestful-apigolang-templategolang-boilerplate
FreeRepo
Overview
Go-REST-Boilerplate is a starter template for building RESTful APIs in Go using the Gin web framework, PostgreSQL database and Clean Architecture principles. It includes built-in support for JWT and OTP authentication, Redis caching, database migrations and comes with Docker configuration for deployment.
Features
clean-architecturejwt-authenticationotp-authenticationredis-cachingpostgresql-integrationenvironment-configurationdocker-supportdatabase-migrationsseed-datacron-jobsswagger-documentationmiddleware-supportrepository-pattern
Feature Flags
authenticationemailsauthorizationjobsQueuenotificationsapiDocscachingmapsschedulingCrons
Recommended Use Cases
rest-api-developmentmicroservicesscalable-backend-applicationsclean-architecture-projects
Frontend
None
Backend
gogin
Auth Providers
jwtotp
Deployment Targets
docker
Payment Providers
None
Quick Facts
โญ Stars
149
๐ด Forks
19
๐งพ License
mit
๐ Active
Unknown
๐ Last Commit
2023-04-26T05:25:15.000Z
GitHub
Stack
Framework
gin
Language
go
Database
postgresql
Auth
jwt, otp
ORM
sqlx
Testing
go-testing
Data Layer
Databases
postgresql, mongodb, redis
ORM
sqlx
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
Pricing
Classification
free
Selected
โ
Notes
No clear pricing signals