Skip to content

ttammann/RandomImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published