myapp

๐Ÿš€ How to build a Dockerized RESTful API application using Go.

godockerkubernetesgolangtemplateboilerplatetutorialmicroservicecloud-nativerestful-api

Preview

myapp preview

Overview

This boilerplate demonstrates building a cloud-native RESTful API in Go using Docker, microservices patterns and modern tooling. It includes a complete bookshelf application with CRUD endpoints, database migrations via Goose, structured logging with Zerolog, form validation, OpenAPI documentation and CI/CD automation through GitHub Actions, designed for containerized deployment on Kubernetes or Docker Compose.

Features

restful-apicrud-operationsdocker-supportkubernetes-readydatabase-migrationsform-validationhealth-checksopenapi-specsrequest-loggingrequest-id-middlewarecontent-type-validation

Feature Flags

blognotificationsapiDocsmapsformsValidationlogginghealthCheckscontainerizationorchestration

Recommended Use Cases

microservicescloud-native-applicationscontainerized-apislearning-gokubernetes-deployments

Frontend

None

Backend

go

Auth Providers

None

Deployment Targets

dockerkubernetes

Payment Providers

None

Quick Facts

โญ Stars
988
๐Ÿด Forks
70
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-06-15T12:07:18.000Z

Stack

Language
go
Database
postgresql
ORM
gorm
Testing
go-testing
Logging
zerolog
CI
github-actions

Data Layer

Databases
postgresql
ORM
gorm

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
github-actions

Pricing

Classification
free
Selected
โ€”
Notes
Open source tutorial/boilerplate repository
Get Started with this Boilerplate