Momentum logo
Team 8 Classroom

๐Ÿ Models & Queries ๐Ÿ

Posted on Jul 7th, 2021

๐Ÿ—“๏ธ Todayโ€™s Topics

  • The woes of deployment & what to do about them
  • Django managers, lookups, and querysets
  • Using the Django shell to make queries

๐ŸŽฏ Project: Continue Building Habit Tracker

Today you should finalize your models and begin building out the urls, views, and templates you will need. Before you write the code, plan for what you will need.

There are examples for a lot of what you need to do in the Django Recipes codebase but you will have to adapt them to your Habit Tracker use cases.

๐Ÿ”– Resources

๐ŸŒŸ EXTRA/TMI

  • SQL Basics: Learn X in Y minutes -> this is a helpful reference for SQL syntax when you run into it. You do not need to write SQL for Django because the Django ORM does it for you, and it does it well. The Django docs often illustrate queries made by the ORM using SQL syntax, however, and you will find it helpful in your job to know the basics.

๐Ÿฆ‰ Code & Notes

โš› Front-end: Get to Know React โš›

Posted on Jul 7th, 2021

Topics

  • Intro to React
    • Why does React exist? What problem does it solve?
    • How is it different from vanilla JS?

๐Ÿ› ๏ธ Setup

Make sure you have the following set up in your local environment:

  • Node & npm
  • create-react-app
  • VS Code extension for JSX and Standard.js

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

๐ŸŽฏ Do

Beginnerโ€™s Guide to React Tutorial. This will show you the most modern way to build React apps. This project will be in Git, but you will use a repository you make.

** Please submit a link to the repository you create for this tutorial here: https://forms.gle/JPTMnnHWa1PnLSpk9 **

If you finish this and want to keep going, try one of these other tutorials:

๐ŸŒŸ Welcome to Phase 3!

Posted on Jul 6th, 2021

Todayโ€™s Topics

  • Intro to Phase 3!
    • Back End and Front End classes have different class times and separate posts today.
  • Schedule & Expectations
  • Note-taking & Markdown
  • Setting goals for Phase 3

๐Ÿคจ What does โ€œAdvancedโ€ Even Mean?

โš ๏ธ And even for experienced engineers, their experience is limited to certain areas, and completely dependent on having had opportunities to develop that experience. What you donโ€™t know will always outweigh what you do as long as you work in a field that moves as fast as tech does.

If that seems discouraging, see this great blog post by one of the most well-respected and influential developers out there right now.

Dan Abramov, Things I Donโ€™t Know

๐Ÿ“ TODO for EVERYONE this week

๐Ÿ”– Resources for Everyone

Time Management

Tech Talks with Good Advice

Markdown

๐Ÿ Welcome to Advanced Back End ๐Ÿ

Posted on Jul 6th, 2021

โš ๏ธ You only need to read this post if you are in the back-end group.

๐Ÿ Todayโ€™s Topics

๐ŸŽฏ Project: Habit Tracker

Youโ€™ll be working on Habit Tracker this week.

Itโ€™s important to read the project requirements thoroughly and start to think about how you would do this project.

First steps: generate the project skeleton; make sure you are using Postgres; deploy to Heroku; and design your models. Make sure to create a diagram showing model fields and relationships. Talk through with each other how you are thinking about this.

By tomorrow:

  • Your application should be deployed to Heroku.
  • Your models should be functional.
  • You should be able to create habits and associated daily records in the django shell (I recommend using shell_plus which is available from django-extensions).

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

These are this weekโ€™s required readings, videos, and/or podcasts. Read, watch, or listen, take notes, and come prepared to discuss what you learned.

Deployment

Databases & Data Modeling

Debugging

๐Ÿ”– Resources

Js For React

Posted on Jul 6th, 2021

โš›๏ธ Welcome back to Front-End Development!

Congratulations on your desicion to continue your journey at Momentum as a front-end developer! During Phase 3 we are going to take a dive into a popular JavaScript framework called React, which is used to build single-page applications. Before we jump into the deep waters of React development, letโ€™s dip our toes into some JavaScript ES6 and reaquaint ourselves with JS syntax and logic.

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

These are required readings, videos, and/or podcasts. Read, watch, or listen, take notes, and come prepared to discuss.

๐Ÿ’ป Write Code

You are not required to turn in a lab assignment (Yay!), although you are encouraged to work in pairs.

pairs = [
  ('Shaune', 'Logan'),
  ('Greg', 'Brian'),
  ('Sara', 'Roan'),
]

Pick 1-3 exercises from this list on Exercism.io JavaScript Track:

  • Isogram
  • Scrabble Score
  • ETL
  • Simple Cipher
  • Hamming
  • Gigasecond
  • Grade School

๐Ÿ”– Helpful resources: