Open AquiGorka opened 7 years ago
Using concepts from:
The API will respond to a domain driven design where: {HTTP requests / Websocket events} => [Controller] => [Service] => [Repository/DAO] => {struct}
In the first iterations maybe the DAO/Repository layer might be omitted but eventually it will be developed when a database takes the place of the struct (and persistence is added).
This ticket will deliver the code that installs a versioned endpoint that initiates the layers up to an empty game struct (that will hold the current state of the game).
Develop API layer to respond to requests to the http & socket servers