Skip to content

Architecture

Hervé Ah-Leung edited this page Feb 24, 2018 · 4 revisions

ARCHITECTURE OVERVIEW - BE SIDE

Objects dependencies

Session -> * Game
Game -> * Card
Card -> * Topic

Endoints to expose

The full specification can be found on the Swagger endpoint (/swagger-ui.html).

MVP - Mandatory - Words are imposed

  • POST {baseUrl}/session
  • GET {baseUrl}/session
  • POST {baseUrl}/game
  • GET {baseUrl}/game

Headers:

  • Authorization: "Bearer 123abc"
  • Session-Id: "312d6492-06c8-4083-bb54-4dd91cf98a7f"

MVP - Nice to have

  • GET {baseUrl}/game/123/teams
  • GET {baseUrl}/game/123/rounds
  • GET {baseUrl}/game/123/words

VVP - Words as input

  • POST {baseUrl}/game?custom=true
Clone this wiki locally