Create a Restful API with Golang from scratch

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • air

    ☁️ Live reload for Go apps

    # Config file for [Air]( in TOML format # Working directory # . or absolute path, please note that the directories following must be under root. root = "." tmp_dir = "tmp" [build] # Just plain old shell command. You could use `make` as well. cmd = "go build -gcflags='all=-N -l' -o ./tmp/main ." # Binary file yields from `cmd`. bin = "tmp/main" # Customize binary. full_bin = "dlv exec --accept-multiclient --log --headless --continue --listen :2345 --api-version 2 ./tmp/main" # Watch these filename extensions. include_ext = ["go", "tpl", "tmpl", "html"]

  • insomnia

    The open-source, cross-platform API client for GraphQL, REST, and gRPC.

    You can test it by just typing this URL in your browser but I would recommend to use a HTTP client like Insomnia, as it would be also required for the rest of this lesson.

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

  • go-todo

    Create a Restful API with Golang (by pachecoio)

    You can use this swagger file to check and test the endpoints we just created for this app. To test the endpoints, I recommend you to download a HTTP client like Insomnia. Follow below the steps to test it:

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