/go-rest-api

Playground to test out building a REST API in Go

Primary LanguageGo

Go REST API Playground

A playground to check out how to write REST APIs in Golang, with testing. Uses Redis as the data store and Chi as the HTTP router.

Prerequisites

  • Go 1.16+
  • Docker

Start

docker compose up -d # starts redis
go run main.go

Test

go test -cover -v ./...