Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 629 Bytes

File metadata and controls

27 lines (17 loc) · 629 Bytes

example-app-backend

This is a simple backend service written in GoLang. It provides an HTTP Rest API. The API specification can be found here: api/openapi.yaml.

Build on Docker

This folder contains a Dockerfile. This can be used to build the application and bake it into an image.

Run on Docker

Here is an example command to run the backend on Docker:

docker container run --name backend -p 8080:8080-d backend:v1.0.0

Verify deployment

curl localhost:8080/api/version

This command should return a response like this:

{ "version": "1.0.0" }