Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Image Viewer

This app randomly shows 1 our of 15 Duck images. A Prometheus endpoint is enabled.

The images are taken from this API:

Random-d.uk

To start the app run

docker-compose up

If you get an error, try

docker-compose up --build

and use this URL to access it in the browser

http://localhost:8080

The two underlying APIs are

  • POST localhost:8080/api/fetch-random
  • GET localhost:8080/api/latest

The Prometheus Endpoint is http://localhost:8080/actuator/prometheus

The app was build using

  • Springboot
  • In-memory H2 database
  • Thymeleaf
  • Lombok

Todo:

  • Automated Test

About

Simple test app. This app randomly shows 1 out of 15 Duck images. A Prometheus endpoint is enabled.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages