Skip to content

mvtbum/go-rest-api

Repository files navigation

A starter kit for Go API development

codecov

Motivation

The best way to be an expert in something is to start working on it ... from scratch.

Architecture: SOLID principles

  • This repo is structured in a way that there is clear separation of functionalities for your controller, business logic and database operations.
  • Dependencies are injected from outside to inside.
  • Swapping a router or database library to a different one becomes much easier.

This is the idea behind Clean Architecture. This way, it is easy to switch whichever library to another of your choice.

TODO

  • Framework-less and net/http compatible handler
  • Router/Mux with Chi Router
  • Environment Viper
  • Logger Zap
  • JWT Authentication
  • Google/Facebook/Apple Authentication
  • Scans and auto-generate Swagger docs using a declarative comments format

Good Reads

About

go restful api starter kit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages