/ludopathy

Primary LanguageTypeScript

Ludopathy

Dev

Starting docker app:

docker-compose up

Auth

in src/ create a file with auth configs

{
  "objHashSecret": "__SECRET_CHANGE_ME__",
  "googleApi": {
    "clientId": {CLIENT_ID},
    "clientSecret": {CLIENT_SECRET},
    "redirect": {APP_URL}
  }
}

Rest Api

List of available API

Parts of the game

Entities

  • User with boards / position per board / round
  • Boards (properties: Boxes)
  • Credits (incremental)
  • Life (decremental)
  • Cards

Properties

  • context (user/board)
  • Position

Actions

  • Move
  • Talk
  • discard (card)

Other

  • BoxesTypes
  • CardTypes
  • Game rules

Sections

  • Profile
  • Create Board
  • Join Game (and invite other user by email)

Documentation

Mongo data modeling

Mongoose Doc