Golang API Starter Kit

Build Status Go Report Card codecov license Beerpay Beerpay

Go Server/API boilerplate using best practices, DDD, CQRS, ES, gRPC.

Demo

Key concepts:

  1. Rest API
  2. Domain Driven Design (DDD)
  3. CQRS
  4. Event Sourcing
  5. Docker
  6. gRPC

Worth getting to know packages used in this boilerplate:

  1. gorouter
  2. message-bus
  3. env

ABOUT

This repository was created for personal use and needs, may contain bugs. If found please report. If you think some things could be done better, or if this repository is missing something feel free to contribute and create pull request.

Contributors:

Want to contribute ? Feel free to send pull requests!

Have problems, bugs, feature ideas? We are using the github issue tracker to manage them.

HOW TO USE

Getting started

Prerequisites

In order to run this project you need to have Docker > 1.17.05 installed for building the production image.

Vendor

To update vendors run

go get -u github.com/golang/dep/cmd/dep
dep init
dep ensure -update

Documentation