A distributed system to store and collect pitchers and thrown pitches in Baseball games.
This repository has two objectives:
- A simple demonstration project how to build a microservice system with spring-framework and demonstrate a full automated build process
- A system that provides all baseball fans, players and coaches a possibility to save a pitcher's pitching behaviour and to compile numbers and stats.
- Spring 5
- SpringBoot 2
- Spring Cloud
- JUnit Jupiter
- Travis-CI
- CodeCov
- Codacy
- Kotlin for tests
- Java for production code
tbd
The pithing-service has an asynchronous endpoint for adding new pitches. The endpoint can be called with POST
method under /pitches/
and is implemented in PitchesController.java
using Spring's DeferredResult
and CompletableFuture
.
There is good news!! It's quite easy to start the whole system thanks to docker-compose
.
Simply run
$ docker-compose up
and everything starts up. But please consider that there are some services and databases booting; it will take a while :)
MIT