Go RESTful API

Open-source Go projects categorized as RESTful API

Top 23 Go RESTful API Projects

  • go-zero

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

    Project mention: A simple way to use sync.WaitGroup. | reddit.com/r/golang | 2023-02-14
  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

    Project mention: Seeking advice on implementing a tinyurl-like service using Go and gRPC. | reddit.com/r/golang | 2023-05-24

    I wonder if they would be happy with something like this: https://github.com/grpc-ecosystem/grpc-gateway

  • 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.

  • automatic-api

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

    Project mention: Automatic-API: softwares that turns your database into a REST/GraphQL API | news.ycombinator.com | 2023-04-25
  • gorsk

    :fire: Idiomatic Golang Restful Starter Kit

    Project mention: From being confident to being professional | reddit.com/r/golang | 2022-06-27

    One repository that I always look is this: https://github.com/ribice/gorsk

  • go-doudou

    go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.

    Project mention: go-doudou released v2.0.1 version | reddit.com/r/golang | 2022-11-14
  • gin-boilerplate

    The fastest way to deploy a restful api's with Gin Framework with a structured project that defaults to PostgreSQL database and JWT authentication middleware stored in Redis

  • Satellity

    Yet another open source forum written in Golang, React and PostgreSQL.

  • 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.

  • ogen

    OpenAPI v3 code generator for go

    Project mention: How to OpenAPI? | reddit.com/r/golang | 2023-02-08

    But also this project https://github.com/ogen-go/ogen It worth keeping an eye on.

  • myapp

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

    Project mention: Api with database - one continuous connection or one connection for http call | reddit.com/r/golang | 2023-04-21

    https://github.com/learning-cloud-native-go/myapp shows how to build a Dockerized RESTful API application using Go. It includes a sample RESTful APIs/ CRUD build using Go net/http with Chi router, Postgres, DB migrations, Configs via env variables, Zerolog structural logs, Validator v10, Gorm.

  • diygoapi

    A Go RESTful API template

    Project mention: How I Error - 2 years later | reddit.com/r/golang | 2023-02-06

    Hi Go reddit community! For my https://github.com/gilcrest/diygoapi project, I recently re-refactored the way I do errors (this is like my 5th time over the years). I wrote a quick post and updated the README with details - the post is here: https://dangillis.dev/posts/errors-again/

  • phalanx

    Phalanx is a cloud-native distributed search engine that provides endpoints through gRPC and traditional RESTful API.

    Project mention: An alternative to Elasticsearch that runs on a few MBs of RAM | news.ycombinator.com | 2022-10-24

    Somewhat related, this guy: https://github.com/mosuka/ seems to be very passionate about search service.

    He built two distributed search services:

    - https://github.com/mosuka/phalanx, written in Go.

    - https://github.com/mosuka/bayard, written in Rust.

  • Feedpushr

    A simple feed aggregator daemon with sugar on top.

    Project mention: Website -> RSS feed -> webhook -> Discord | reddit.com/r/rss | 2022-08-26

    website to rss feed use https://github.com/RSS-Bridge/rss-bridge rss feed to webhook use https://github.com/ncarlier/feedpushr

  • CleverGo Web Framework

    :tongue: CleverGo is a lightweight, feature rich and high performance HTTP router for Go.

  • rest

    Rest serves a fully RESTful API from any SQL database (by rest-go)

    Project mention: Using Sqlite at my own server for social app? | reddit.com/r/sqlite | 2023-02-20

    If you're looking for something simpler to just access SQLite content for web development, check out Rest. If you get the command-line version, you can type something like rest -p 3000 -db.url "sqlite://chat_data.db3" and your tables are conveniently available at localhost:3000/$tablename, with full support for insert, update, delete as well. Rest is a convenient tool that I keep in the same folder with sqlite3.

  • ratus

    Ratus is a RESTful asynchronous task queue server. It translated concepts of distributed task queues into a set of resources that conform to REST principles and provides a consistent HTTP API for various backends.

    Project mention: Ratus - a RESTful asynchronous task queue server. | reddit.com/r/SideProject | 2022-09-24

    The Go ecosystem has many brilliant distributed task queue libraries, but sometimes we still have to settle for some bloated cross-platform solution in order to work with components written in other languages. To solve this problem, we created Ratus, which is a service, not a library. It translated concepts of distributed task queues into a set of resources that conform to REST principles and provides an easy-to-use HTTP API. Ratus is implemented in Go, and comes with a Go client library. Asynchronous task queues are typically used for long-running background tasks, so the overhead of the HTTP API is not significant compared to the time spent by the tasks themselves. On the other hand, the HTTP-based RESTful API can be easily accessed by all languages without using dedicated client libraries.

  • gothic

    🦇 Gothic is a user registration and authentication SWT/JWT microservice. It supports REST, gRPC, and gRPC Web API, reCAPTCHA & a variety of DBs with Gorm. (by jrapoport)

    Project mention: gothic VS gotrxx - a user suggested alternative | libhunt.com/r/jrapoport/gothic | 2023-03-11
  • bellt

    :bell: A simple Go router

  • apibrew

    APIBrew is Low code software to automate building CRUDs from yaml files (by apibrew)

    Project mention: Low code software to automate building CRUDs from YAML files | news.ycombinator.com | 2023-05-04
  • epoch

    Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON (by vtopc)

  • promql2influxql

    Convert PromQL to InfluxQL, plus a RESTful service as Prometheus adaptor service for Grafana

    Project mention: promql2influxql: Convert PromQL to InfluxQL, plus a RESTful service as Prometheus adaptor service for Grafana | reddit.com/r/golang | 2023-01-12

    Introduce a new open source project promql2influxql, convert PromQL to InfluxQL, plus a RESTful service as Prometheus adaptor service for Grafana: https://github.com/wubin1989/promql2influxql

  • basic-auth-gin

    Basic-auth-gin v1 is a fast RESTful API framework built on Gin Framework and MongoDB database. It comes with built-in JWT authentication middleware, Google OAuth API, SendGrid email API, and SSL support. It provides an easy-to-use environment with environment variable support and can be quickly installed and tested using make commands.

    Project mention: gin user-auth template | reddit.com/r/golang | 2023-03-08
  • rest

    Simple Generic REST controller (by deluan)

    Project mention: Documentation for the Navidrome API | reddit.com/r/navidrome | 2022-08-21

    These endpoints uses the lib https://github.com/deluan/rest, that implements a simple REST api, based on the JSON Server REST dialect. You can find documentation for the behaviour of the endpoints in the latter link. Playlists have extra methods and options that are not covered by the JSON Server dialect.

  • covey

    A lightweight Linux cluster orchestration system written in Go (Under active development, just working on plugins https://github.com/chabad360/plugins)

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

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-05-24.

Go RESTful API related posts

Index

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

Project Stars
1 go-zero 24,361
2 grpc-gateway 15,515
3 automatic-api 1,811
4 gorsk 1,374
5 go-doudou 1,183
6 gin-boilerplate 901
7 Satellity 573
8 ogen 554
9 myapp 546
10 diygoapi 338
11 phalanx 322
12 Feedpushr 269
13 CleverGo Web Framework 249
14 rest 84
15 ratus 84
16 gothic 68
17 bellt 54
18 apibrew 23
19 epoch 12
20 promql2influxql 10
21 basic-auth-gin 9
22 rest 8
23 covey 8
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
www.onlyoffice.com