Skip to content

reimo/bowling_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game

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

endpoints

  • POST /api/bowling/start Start Game
  • GET /api/bowling List Game
  • POST /api/bowling/roll Roll
  • GET /api/bowling/:game_id score

install deps

  • Install dependencies with mix deps.get

DB

requires postgress mix ecto.setup

To start your Phoenix server:

  • Start Phoenix endpoint with mix phx.server

Test coverage

MIX_ENV=test mix coveralls

Run Test

MIX_ENV=test mix test

About

An API to start and and record a bowling game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published