tobbbles / service

An opinionated, simple, Go HTTP API template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

An opinionated, simple, Go HTTP API template

License:Apache License 2.0


Languages

Language:Go 92.5%Language:Dockerfile 7.5%