Fun project for statistics on cryptos with Java, Spring, Maven and JUnit.
-
Install
docker
andjava17
. -
Build the repo, run the tests and build a docker image:
./mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=cryptos
-
Start the container:
docker run -d -p 8080:8080 --name app cryptos
-
Happy reviewing at http://localhost:8080/swagger-ui.html !
- Documentation in the code.
- Better repository logic.
- CryptoInfoRepository store in database.
- Background service or db triggers to load the stats.
- Better logs.
- More tests.
- More detailed swagger documentation.