Noob here. Need recommendation for best REST API framework.

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • GitHub repo Echo

    High performance, minimalist Go web framework

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

  • GitHub repo Goyave

    🍐 Elegant Golang REST API Framework

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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo Fiber

    ⚡️ Express inspired web framework written in Go

  • GitHub repo chi

    lightweight, idiomatic and composable router for building Go HTTP services

    net/http + chi + ent

  • GitHub repo ent

    An entity framework for Go

    net/http + chi + ent

  • GitHub repo mux

    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.

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

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

  • GitHub repo handlers

    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.

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

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

  • GitHub repo gosane

    A sane and simple Go REST API template.

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

  • GitHub repo Buffalo

    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