Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 1.04 KB

DESIGN.md

File metadata and controls

32 lines (29 loc) · 1.04 KB

Project design ideas, tasks, and thoughts:

  1. Server routers, HTTP request to database
  • How many routers to I need?
  • What are my HTTPs going to look like?
    • emotions.router.js
      • Will have all sorts of HTTP requests
      • Ones for the process log
      • I might also put the data request for the charts here. Might be better for them to have their own though... hm...
      • POST to Database to insert new log into the "emotion_logged" table
        • INSERT INTO "emotion_logged" ("user_id", "primary_emotion", "intensity_emotion", "intensity_level", "how_feel", "why_feel") VALUES ($1, $2, $3, $4, $5, $6);
    • radar.router.js <- like this or just a /radar
  1. Index.js ->
  • Holds Sagas and reducers
  • What might the reducers look like:

  • What might the sagas look like:

  • I will need to make a home page
  1. Material-ui Multiple step Dialog component
  • Button
  • Dialog
  • Stepper
  • Stages/Steps
  • Primary Emotion Stage
  • Primary Emotion Intensity Stage
  • Primary Emotion Questions Stage