Skip to content

A simple flamingo application as showcase for a DevOps approach

License

Notifications You must be signed in to change notification settings

tessig/flamingo-product-rating

Repository files navigation

flamingo-product-rating Build Status

A simple Flamingo application as showcase.

Building the app

Needs at least go 1.11.4 and uses go modules.

go build -o rating .

Development setup

A docker-compose setup for development can be found in devenv directory.

This contains:

Simply run docker-compose up from within devenv.

On first or new setup, the database will be empty. Run

  • CONTEXT=dev go run main.go migrate up to create the schema
  • CONTEXT=dev go run main.go seed to import some test data

Then start the app via CONTEXT=dev go run main.go serve

The config in config/config_dev.yml matches the docker-compose setup.

The app will be under http://localhost:3322/ The metrics endpoint will be under http://localhost:13210/metrics

Standalone example

In docker-compose-standalone directory you can find a complete operational example.

About

A simple flamingo application as showcase for a DevOps approach

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published