An API to start and and record a bowling game
- Having to support application restart, i when straight to persist game start into postgress db.
- This can be update later to support an in memory store if load and api response time becomes a concern
- POST /api/bowling/start Start Game
- GET /api/bowling List Game
- POST /api/bowling/roll Roll
- GET /api/bowling/:game_id score
- Install dependencies with
mix deps.get
requires postgress
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
MIX_ENV=test mix coveralls
MIX_ENV=test mix test