Skip to content

Soccer Stats is an example application to be used as a proof of concept for a presentation at Ansible Meetup in São Paulo

Notifications You must be signed in to change notification settings

jhdempsey/soccer-stats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soccer Stats

Soccer Stats is an example application to be used as a proof of concept for a presentation at Ansible Meetup in São Paulo.

Pre-requistes

  • JDK 1.8
  • Maven 3.3+

Environment

It's a sample Rest API built upon Spring Rest Framework. The database is based on data gathered from 2015/2016 season of Italian Soccer National Championship.

During the Spring Context bootstrap a temporary database is created using H2 with data imported from a spreedsheet.

Installation

Just run mvn clean package on the project directory and your ready to go.

Using

Bring the application up by running java -jar soccer-stats-X.X.X.jar, where's X.X.X is the project's version.

After the startup the endpoint should be availble at http://localhost:8080/matches/{team_name} where {team_name} must be a Italian team name like juventus, milan, udinese and so on.

To bring a specific match, try the endpoint http://localhost:8080/matches/{home_team_name}/{visitor_team_name} replacing the param vars to the match you'd like to see, for example:

http://localhost:8080/matches/juventus/milan

Credits

Football-Data for providing the data used for this lab.

About

Soccer Stats is an example application to be used as a proof of concept for a presentation at Ansible Meetup in São Paulo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 77.1%
  • Groovy 14.9%
  • Ruby 6.8%
  • Shell 1.2%