relaxdays-hackathon-cc-vol1-7-backend-purchase

command module
v0.0.0-...-4e10d40 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

README

relaxdays-hackathon-cc-vol1-7-backend-purchase

This project was created in the Relaxdays Code Challenge Vol. 1. See https://sites.google.com/relaxdays.de/hackathon-relaxdays/startseite for more information. My participant ID in the challenge was: CC-VOL1-7

How to run this project

You can get a running version of this code by using:

git clone https://github.com/hashworks/relaxdays-hackathon-cc-vol1-7-backend-purchase.git
cd relaxdays-hackathon-cc-vol1-7-backend-purchase
docker build -t relaxdays-hackathon-cc-vol1-7-backend-purchase .
docker run -p 8080:8080 -it relaxdays-hackathon-cc-vol1-7-backend-purchase

Afterwards you can access http://127.0.0.1:8080/ which will redirect you to the swagger UI.

By default, data is stored in a SQLite database in memory. To persist data you can provide a DSN:

docker run -v "$(pwd)/output:/output" -p 8080:8080 -it relaxdays-hackathon-cc-vol1-7-backend-purchase -dsn "file:/output/output.sqlite?cache=shared"

OpenAPI definitions

OpenAPI definitions are available as YAML and JSON.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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