Is there a good example of an open source non-trivial (DB connection, authentication, authorization, data validation, tests, etc...) Go API?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • wild-workouts-go-ddd-example

    Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

    Wild Workouts should match your needs:

  • Portainer

    Making Docker and Kubernetes management easy.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Grafana

    The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

    Grafana project ticks all these boxes, I think.

  • exposure-notifications-server

    Exposure Notification Reference Server | Covid-19 Exposure Notifications

    Google's Exposure Notification Reference Serve is a real life example of what you're asking for.

  • dex

    OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors

  • trillian

    A transparent, highly scalable and cryptographically verifiable data store.

  • upspin

    Upspin: A framework for naming everyone's everything.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • myapp

    🚀 How to build a Dockerized RESTful API application using Go.

  • Listmonk

    High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

  • go-webapp-example

    Example web application written in Go

  • core

    Backend server API handling user mgmt, database, storage and real-time component (by staticbackendhq)

  • Miniflux

    Minimalist and opinionated feed reader - it's an RSS feed reader (I use it, BTW).

  • almanack

    Predicts future sports scores

  • datly

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts