Giter Site home page Giter Site logo

go-rest-api's Introduction

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

go-rest-api's People

Contributors

nghiamvt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.