Open-source Go projects categorized as REST-API

Top 23 Go REST-API Projects

  • Fiber

    ⚡️ Express inspired web framework written in Go

    Project mention: Mastering LiveView development in GoLang | dev.to | 2023-01-19

    Go Live project provides real-time user experiences with server-rendered HTML completely in Go. Inspired by and borrowing from Phoenix LiveViews, Live is intended as a replacement for React, Vue, Angular etc. You can write an interactive web apps just using Go and its templates. The structures provided in this package are compatible with net/http, so will play nicely with middleware and other frameworks. But integrations with other frameworks like Fiber exist as well.

  • go-zero

    A cloud-native Go microservices framework with cli tool for productivity.

    Project mention: Best golang framework for microservice | reddit.com/r/golang | 2022-10-01
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

    Project mention: Understanding gRPC Concepts, Use Cases & Best Practices | dev.to | 2023-01-15

    protoc-gen-grpc-gateway — plugin for creating a gRPC REST API gateway. It allows gRPC endpoints as REST API endpoints and performs the translation from JSON to proto. Basically, you define a gRPC service with some custom annotations and it makes those gRPC methods accessible via REST using JSON requests.

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: go-chi create auth middleware | reddit.com/r/golang | 2023-01-27

    Take a look at the Basic HTTP auth middleware that ships with chi and adjust it to your needs: https://github.com/go-chi/chi/blob/master/middleware/basic_auth.go

  • ntfy

    Send push notifications to your phone or desktop using PUT/POST

    Project mention: User database init | reddit.com/r/ntfy | 2023-01-27

    This comes up every now and then. There is a ticket to create users declaratively (https://github.com/binwiederhier/ntfy/issues/464). The way you solved it is great, though I don't quite understand why you don't just put the user.db in a persistent volume (-v) instead of recreating it every time...

  • pREST

    PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new

    Project mention: pREST on YugabyteDB | dev.to | 2023-01-22

    In a previous post, I published an example with PostgREST on YugabyteDB. Here is another one: pREST opens a REST API to PostgreSQL. YugabyteDB is a PostgreSQL-compatible Open-Source Distributed SQL database. It adds horizontal scalability to applications built for PostgreSQL. Let's see how it integrates with pREST.

  • vulcain

    Fast and idiomatic client-driven REST APIs.

    Project mention: Removing HTTP/2 Server Push from Chrome | news.ycombinator.com | 2022-08-19

    Funny thing is that I was just looking into how this software could work with APIs and now it seems like it's dead in the water if the support is removed from the browser. Sure, it's a progressive enhancement and you wouldn't break anything, but you lose all the benefit as far as I can tell and you _are_ adding an extra layer.


  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    Project mention: Building web-based SaaS with Go as a solo entrepreneur. What should I be aware of? | reddit.com/r/golang | 2023-01-23

    Im doing something similar! Has been working out so far. I would recommend code generation whenever possible to speed up dev time. I hate writing all the server boilerplate so https://github.com/deepmap/oapi-codegen has worked great for me.

  • automatic-api

    A list of software that turns your database into a REST/GraphQL API

    Project mention: Database API Standard? | reddit.com/r/Python | 2022-10-29

    A fuller list of things like this is at https://github.com/dbohdan/automatic-api

  • caffeine

    A basic REST service for JSON data - enough for prototyping and MVPs! (by rehacktive)

  • REST Layer

    REST Layer, Go (golang) REST API framework

  • drago

    ☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.

  • chanify

    Chanify is a safe and simple notification tools. This repository is command line tools for Chanify.

    Project mention: Pushbullet, but self hosted (Or self hosted E-Mail?) | reddit.com/r/selfhosted | 2022-06-14


  • eliasdb

    EliasDB a graph-based database.

    Project mention: Open Source Databases in Go | reddit.com/r/golang | 2022-06-08

    eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.

  • service-pattern-go

    Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.

    Project mention: Question about the service pattern and data racing in Go | reddit.com/r/golang | 2022-05-26

    Repo for reference: https://github.com/irahardianto/service-pattern-go

  • aah

    A secure, flexible, rapid Go web framework

  • resgate

    A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.

  • kubemq-community

    KubeMQ is a Kubernetes native message queue broker

    Project mention: An Open-Source, Kubernetes-Native Messaging Platform | news.ycombinator.com | 2022-07-12
  • ogen

    OpenAPI v3 code generator for go

    Project mention: Go stack for REST APIs? | reddit.com/r/golang | 2022-11-20

    https://github.com/ogen-go/ogen/ is my potential replacement, need to evaluate it fully though.

  • twitter-clone

    🕊 Twitter Clone developed using Go + Vue 3 + Vite + TailwindCSS + PostgreSQL + Redis (by HotPotatoC)

    Project mention: Clueless as a MoFo | reddit.com/r/WhitePeopleTwitter | 2022-11-10
  • Go-Clean-Architecture-REST-API

    Golang Clean Architecture REST API example

    Project mention: Don't know when to return Pointers or Not | reddit.com/r/golang | 2022-06-03

    This Repo: https://github.com/AleksK1NG/Go-Clean-Architecture-REST-API, Does use Pointers, even for struct as input value is Pointer.

  • firewalld-rest

    A rest application to update firewalld rules on a linux server

  • diygoapi

    A Go RESTful API template

  • SaaSHub

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

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-27.

Go REST-API related posts


What are some of the best open-source REST-API projects in Go? This list will help you:

Project Stars
1 Fiber 24,259
2 go-zero 22,347
3 grpc-gateway 14,823
4 chi 13,143
5 ntfy 9,118
6 pREST 3,595
7 vulcain 3,348
8 oapi-codegen 2,929
9 automatic-api 1,751
10 caffeine 1,180
11 REST Layer 1,179
12 drago 1,008
13 chanify 997
14 eliasdb 960
15 service-pattern-go 685
16 aah 673
17 resgate 612
18 kubemq-community 560
19 ogen 427
20 twitter-clone 389
21 Go-Clean-Architecture-REST-API 363
22 firewalld-rest 325
23 diygoapi 296
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives