oreporan / wePlayMin

WePlay - the social football managing app
0 stars 1 forks source link

create gameEndpoint external and controller #3

Closed oreporan closed 8 years ago

oreporan commented 8 years ago

I think the API for the endpoint should look like this:

// This must take a league_id as a parameter of the request createGame()

getGameById()

// This must contain a league in the request getAllGames()

I guess we will need more but this is enough for now

oreporan commented 8 years ago

Still need to do - getAllGames(), this will receive an array of gamesId and return the array of games from the DB Also need to do - getGameById()

oreporan commented 8 years ago

Actually we are still missing these functions

Yahavw commented 8 years ago

Right, we need to finish the game's API, and to test it

oreporan commented 8 years ago

Code written - need to do unit tests

oreporan commented 8 years ago

done

Yahavw commented 8 years ago

🙌

2015-10-03 16:08 GMT+03:00 oreporan notifications@github.com:

done

— Reply to this email directly or view it on GitHub https://github.com/oreporan/wePlayMin/issues/3#issuecomment-145246492.