Noob here. Need recommendation for best REST API framework.

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Echo

    High performance, minimalist Go web framework

    For building the API server, you should look at: https://echo.labstack.com/

  • Goyave

    🍐 Elegant Golang REST API Framework (v5 release candidate available)

    Hello, I am working on an opinionated REST API framework called Goyave. Check it out and PM me if you have any question.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Fiber

    ⚡️ Express inspired web framework written in Go

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    net/http + chi + ent

  • ent

    An entity framework for Go

    net/http + chi + ent

  • mux

    Discontinued A powerful HTTP router and URL matcher for building Go web servers with 🦍

    I use (and love) gorilla/mux as well as julienschmidt/httprouter. They are both on the "lightweight" end of the spectrum. Nothing (to my knowledge) beats the performance of julienschmidt/httprouter, but routing isn't going to be your main bottleneck anyway, so I don't think it matters too much. If you wanted to get started with gorilla, gowebexamples.com is a nice starting point.

  • httprouter

    A high performance HTTP request router that scales well

    I use (and love) gorilla/mux as well as julienschmidt/httprouter. They are both on the "lightweight" end of the spectrum. Nothing (to my knowledge) beats the performance of julienschmidt/httprouter, but routing isn't going to be your main bottleneck anyway, so I don't think it matters too much. If you wanted to get started with gorilla, gowebexamples.com is a nice starting point.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • handlers

    Discontinued A collection of useful middleware for Go HTTP services & web applications 🛃

    To add to this, gorilla also offers some middleware. And its super easy to import your own and wrap it.

  • go-restful

    package for building REST-style Web Services using Go

    It's not super popular, but my personal favorite is Go-restful (https://github.com/emicklei/go-restful) with Go-restful-openapi (https://github.com/emicklei/go-restful-openapi) for documenting the API in code.

  • go-restful-openapi

    OpenAPI extension in Go for the go-restful package

    It's not super popular, but my personal favorite is Go-restful (https://github.com/emicklei/go-restful) with Go-restful-openapi (https://github.com/emicklei/go-restful-openapi) for documenting the API in code.

  • gosane

    A sane and simple Go REST API template.

    I’ve got an example here you could check out: https://github.com/sno6/gosane

  • Buffalo

    Discontinued Rapid Web Development w/ Go

    have a look at Buffalo

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