iamrita / enhanced-journal

Using ChatGPT for better journaling sessions
MIT License
2 stars 1 forks source link

Data Model Reference #20

Open iamrita opened 1 year ago

iamrita commented 1 year ago

Data Models:

User: id, name, email, Journal, sign_up_date

Journal: id, user_id, List of Sessions

Session: Conversation, timestamp

Conversation: List<{question, answer}>

(question and answer are both just Strings)

In Firebase right now, we are currently storing a list of journal entires. We need to change this to store a list of Users.

Additional context

No response

iamrita commented 1 year ago

@xkylan I updated the description ^ with what exact data models we need and how we should modify Firebase. LMK if you suggest any changes to make it better.