/service

An opinionated, simple, Go HTTP API template

Primary LanguageGoApache License 2.0Apache-2.0

Service

Concepts

TODO

Development

Building

This project uses Go Modules for depencency management and vendoring. Dependencies will be resovled and fetched at build time - freely develop in the application and compile with

$ go build . 

Testing

You can run all of the unit tests within the service using Go's own unit test runner.

$ go test -v ./...

Local environment

The current employed development workflow revolves around Docker and utilising docker-compose. You can bring up a full local development environment with:

$ docker-compose up --build

Deployment

This service was designed to be deployed with kustomize and using a Docker container registry to hold built images. You'd ideally contain all manifests and patches in a seperate repo to orchestrate the deployment of the service to a Kubernetes cluster. This repo itself contains a doc directory which contains manifests for demonstration purposes only.