Futsal oriented solution to count score at work.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Dockerfile
LICENSE
README.md
pom.xml
settings.xml

README.md

Spatwork

Simple REST API for keeping scores about who's the best in the office (just kidding).

Build Status

Build with mvn package to create an executable jar (uberjar) or use the maven profile -Pwebapp to create a war.

Run with java -jar spatwork-<version>.jar or deploy the war in any application container.

The jar file is deployed to [Bintray] (https://bintray.com/almorelle/Spatwork/Spatwork/) and there is a docker image available on [Docker Hub] (https://registry.hub.docker.com/u/almorelle/spatwork/).

You will need a MongoDB server running on localhost (you can use -Pembedmongo for the tests) or provide the URI and db name in the environment (retrieved with System.getEnv). I personnally have my database hosted at [compose.io] (http://compose.io) (former MongoHQ).

Videos

You can provide video links for each recorded game. A videos.json file is expected in webapp/videos directory.

[
    { "id": "2", "file": "videos/match-2-video.mp4", "web": "youtube-url" },
    { "id": "8", "file": "videos/some-kick-ass-video.mp4", "web": "dailymotion-url" },
    { "id": "8", "file": "videos/some-kick-ass-video.mp4", "web": "vimeo-url" }
]

Credits