Posted on Nov 23rd, 2020
Today you start a new project: Django Photo Gallery. This is your last project for phase 3, and is due on Thursday, Dec 3.
We will spend class breaking down the models needed for this application and talking through how to handle image uploads.
Posted on Nov 19th, 2020
Today, we looked deeper at React state and how to use it to change how the page looks and what data we show.
Resources
Posted on Nov 19th, 2020
Today, we are going to talk about:
- creating models with relationships via API
- using viewsets and routers
- making custom permission classes
For this weekend, you need to finish up your API for HabitTracker. Specifically,
- all habits can be read via the API
- habits and records can be created via the API
- proper permissions are on habits and records
- habits can be edited and deleted by their author
- records can be edited and deleted by their author
Resources
Posted on Nov 17th, 2020
Front-end
For Thursday, you should work on transitioning from a list of trivia topics to a list of questions for that topic. Make a new component to show the questions and allow the user to transition between the list of topics to the questions.
Back-end
For Thursday, add a read-only API to Habit Tracker to allow users to see their habits and records. Once you’ve done that, allow users to create new habits.
Posted on Nov 16th, 2020
Today we learned about how Ajax and APIs work and how to make Ajax calls from React using fetch()
.
Assignment
React Trivia. For today, get a list of trivia categories showing.
Resources
Video
https://us02web.zoom.us/rec/share/ufEKW5n0xF5Ed5kNk8lfdumvP9pgNxK6rwKqtH7DZ_EuWo_dOIrVYzyDM4tM_eu.nP90kPodYUulpjo Passcode: =k%98#jf