Skip to content

This repository is an applicaiton that can store and fetch pitchers and thrown pitches. It's objective is to provide the basis to evaluate a pitcher's success on the mound or in the pullpen through measured pitching-data.

License

Notifications You must be signed in to change notification settings

SeWaS/pitchcast

Repository files navigation

Pitchcast

A distributed system to store and collect pitchers and thrown pitches in Baseball games.

Some master branch numbers

Build Status codecov Codacy Badge

What is all this good for

This repository has two objectives:

  1. A simple demonstration project how to build a microservice system with spring-framework and demonstrate a full automated build process
  2. 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.

A word about technologies

  • Spring 5
  • SpringBoot 2
  • Spring Cloud
  • JUnit Jupiter
  • Travis-CI
  • CodeCov
  • Codacy
  • Kotlin for tests
  • Java for production code

How to use the Pitchcast

tbd

Asynchronous endpoint

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.

How to run all things

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 :)

License

MIT

About

This repository is an applicaiton that can store and fetch pitchers and thrown pitches. It's objective is to provide the basis to evaluate a pitcher's success on the mound or in the pullpen through measured pitching-data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published