Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 1.09 KB

BACK.md

File metadata and controls

73 lines (59 loc) · 1.09 KB

Back

Technology

strapi postgres

Database structure\

theme

  • name
  • slug
  • message_id

thread

  • theme_id NULL
  • message_id NULL
  • quote_id NULL
  • name

message

  • thread_id

theme_rating

  • theme_id

thread_rating

  • thread_id

message_rating

  • message_id

  • user_id

  • sincerity / hypocrysy

  • fool / wise

  • unsourced / sourced

  • lack of arguments / lot of arguments

  • kindness / agressivness

  • calm / anger

  • manipulative / intellectual honesty

  • lie / truth

  • facts / thoughts

  • intelligible / misconstructed

  • empathetic

  • objective

  • listening

message_source

Message sources in order to increase 'correctly_sourced' rating

  • message_id
  • url

quote

Pick a sentence and open a thread

  • quote_content
  • message_id

source_rating

  • fiability - INTEGER (0 to 100)
  • accuracy - INTEGER (0 to 100)
  • known_source - INTEGER (0 to 100)

user

  • username
  • password
  • role

Modules

  • auth
  • rest CRUD API for above tables with role access
  • roles ( admin, mod, user )

CI / CD

  • integration tests (superagent)
  • functionnal tests of API