carpark

command module
v0.0.3-0...-d907587 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 13 Imported by: 0

README

carpark

An HTTP API for paying for parking.

An experiment into event sourcing backed by a Postgres database. Events are stored in serialised protobuf and state is held in memory. Also includes examples of logging, metrics and "black-box" service level specifications.

Build Status Go Report Card

Setup

This application is written in Go and tested with Ruby and RSpec. The tests run against docker containers.

Run this command to install all required Ruby gems and go tools.

$ bundle install && rake install

Available Rake tasks:

rake install     # Go get required tools
rake clean       # Remove any temporary products
rake codegen     # Generate protobuf and stringer go code
rake unittest    # Run Golang unit tests
rake build       # Build a local docker image
rake rubycodegen # Generate protobuf ruby code
rake spec        # Run RSpec code examples

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
ctx
Package events is a generated protocol buffer package.
Package events is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL