Skip to content

gregszero/soccer

Repository files navigation

Soccer

Simple Rest and Protobuf API for soccer results

Installation

Install elixir

Install dependencies

$ mix local.hex

$ mix.deps get

Application Documentation

You can generate documentation running:

$ mix docs

API Documentation

Import the file swagger.yml to Swagger Editor

Benchmarking

To generate benchmarking results, run:

$ mix run test/benchmarking/soccer_benchmark.ex

Running with Docker with load balancing

Init a docker Swarm

$ docker swarm init

Build an image

$ docker build .

Deploy image to Swarm

$ docker stack deploy --compose-file=docker-compose.yml ex

Check if services are up

$ docker service ls

DONE!

About

Elixir REST/Protobuf API for soccer results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published