Momentum logo
Team 8 Classroom

๐Ÿ REST APIs and Django ๐Ÿ

Posted on Jul 12th, 2021

Todayโ€™s Topics

  • HTTP requests and responses
  • REST APIs
  • Django REST Framework

๐ŸŽฏ Project

Complete the official Django REST Framework tutorial. You may find it easier going if you follow the guide by Will Vincent.

Will Vincent uses the exact same code and steps, but he takes more time to explain what is going on and uses the django admin interface instead of the shell to create objects in the database. Willโ€™s tutorial stops short of the last step, step 6, in the official tutorial. But if you finish step 5 and want to keep going, you can continue with the official tutorial.

You should complete the tutorial by tomorrow morning.

Some tips about the DRF Tutorial to keep in mind:

  • Do not copy & paste the code. Youโ€™ll get a lot more out of it if you type it out yourself.
  • Donโ€™t use the Momentum Django Project Template for the tutorial. The custom user model in that template conflicts with what the tutorial has you do.

๐Ÿ“– Read | ๐Ÿ“บ Watch | ๐ŸŽง Listen

๐Ÿ”– Resources

โš› Front-end: React Event Handling and Styling โš›

Posted on Jul 8th, 2021

Todayโ€™s Topics

  • How are things going with React Freeshelf so far? Is there anything youโ€™re stumped on?
  • Continue building on the React Devs for Hire app
  • Handling events in React with event handlers
  • Adding styles to React components

๐ŸŽฏ Do

Continue working on React Freeshelf. This is due on Monday.

๐Ÿ“– Read | ๐Ÿ“บ Watch | ๐ŸŽง Listen

๐Ÿ”– Resources

๐Ÿ‘จโ€๐Ÿ’ป Code Examples

๐Ÿ Queries & Using the Shell ๐Ÿ

Posted on Jul 8th, 2021

Todayโ€™s Topics

  • Interacting with models in the shell
  • Queries and more queries

๐ŸŽฏ Project: Still Working on Habit Tracker

Habit Tracker is due on Monday. You can do this! ๐Ÿ’ช What do you need to know in order to finish it?

๐Ÿ“– Read | ๐Ÿ“บ Watch | ๐ŸŽง Listen

This section is material to prep for the topic we will begin next week: building APIs.

๐Ÿ”– Resources

Aggregate & Annotate

๐Ÿฆ‰ Code & Notes

๐ŸฆŠ Front-end: React Component Props & State ๐ŸฆŠ

Posted on Jul 8th, 2021

Todayโ€™s Topics

  • What did you think of the tutorial(s) you did? Impressions of React?
  • Continue building on our React Devs for Hire app
  • More practice with components and JSX
  • Handling data in React with props and state

๐ŸŽฏ Do

Today, youโ€™ll start on your first React app without a tutorial. This is due on Monday.

React Freeshelf

groups = [
    ['Greg', 'Sara', 'Brian'],
    ['Shaune', 'Logan', 'Roan']
]

๐Ÿ“– Read | ๐Ÿ“บ Watch | ๐ŸŽง Listen

๐Ÿ”– Resources

๐Ÿ‘จโ€๐Ÿ’ป Code Examples

๐Ÿงถ Loom screencasts

I made some short topic videos walking through doing some more stuff with the DevsForHire app.