-
Notifications
You must be signed in to change notification settings - Fork 0
State
Moiz Ahmad edited this page Sep 19, 2021
·
8 revisions
{
"session": {
"user": {
"id": \`1\`,
"first_name": "ChetMan",
"last_name": "Chaote",
"username": "Demo-User",
"email": "demo@user.com",
"img_url": "url",
"aspirations": {
"id": {
"id": 1,
"lesson_id": 1,
"completed": "True"
}
}
}
},
"users": {
"id" : {
"id": 1,
"username": "Demo-User",
"img_url": "url"
}
},
"curriculum": {
"courses": {
"id": {
"id": 1,
"name": "Data Structures",
"description": "Riveting.",
"lessons": [1, 2, 3, 4, 5, 6]
}
},
"lessons": {
"id": {
"id": 1,
"name": "The Linked List",
"description": "The head, the tail, and everything in between!!!",
"content": "A linked list is a data structure.",
"img_url": "url",
"course_id": 1,
"votes": [
{
"id": 1,
"liked": "False",
"user_id": 1,
"course_id": 1
}
]
}
}
},
"comments": {
"id": {
"id": 1,
"content": "Google was a better resource. This is a miserable excuse for a lesson. Whoever wrote this lesson should be disbarred from computer science for eternity. I know less about a linked list than I did before reading this lesson.",
"user_id": 1,
"lesson_id": 1
}
}
}