reg-attendee-service

module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT

README

reg-attendee-service

test status

Overview

A backend service that provides attendee management.

Implemented in go.

Command line arguments

-config <path-to-config-file> [-migrate-database] [-ecs-json-logging]

Installation

This service uses go modules to provide dependency management, see go.mod.

If you place this repository outside your GOPATH, build and test runs will download all required dependencies by default.

Running on localhost

Copy the configuration template from docs/config-template.yaml to ./config.yaml. This will set you up for operation with an in-memory database and sensible defaults.

Build using go build cmd/main.go.

Then run ./main -config config.yaml -migrate-database.

Installation on the server

See install.sh. This assumes a current build, and a valid configuration template in specific filenames.

Test Coverage

In order to collect full test coverage, set go tool arguments to -covermode=atomic -coverpkg=./internal/..., or manually run

go test -covermode=atomic -coverpkg=./internal/... ./...

Open Issues and Ideas

We track open issues as GitHub issues on this repository once it becomes clear what exactly needs to be done.

Directories

Path Synopsis
cmd
internal
repository/config
configuration management using a yaml configuration file You must have called LoadConfiguration() or otherwise set up the configuration before you can use these.
configuration management using a yaml configuration file You must have called LoadConfiguration() or otherwise set up the configuration before you can use these.
repository/selfclient
Package selfclient provides a very simple self API client.
Package selfclient provides a very simple self API client.
test

Jump to

Keyboard shortcuts

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