Momentum logo
Team 2 Classroom

BE Weekend Assignment -- Booklist

Posted on Jul 22nd, 2020

Your assignment, if you choose to accept it

Booklist API

There are definitely things in this assignment we haven’t covered in class! That probably seems very scary, but practicing reading documentation and figuring it out is an important part of becoming a developer. I am going to link all necessary documentation below under Resources.

Resources

BE -- REST and nested models

Posted on Jul 21st, 2020

Today, we walked through how to make serializers for nested models.

An API for Question Box

Between now and Thursday, you should add an API to QuestionBox. You should make a new Django app and use viewsets for questions and answers.

  • You don’t to worry about favoriting or marking answers as correct.
  • When you make a question, associate the current user as the author of the question.
  • When you make an answer, associate the current user as the author of the answer.
  • When you make an answer, the user must send the question PK.

Resources

FE -- The React Lifecycle

Posted on Jul 20th, 2020

Today we’re going to learn all about the React lifecycle and how you can use it to make applications that retrieve and store data.

Project

React Trivia Game – this is due on Thursday.

Resources