You must complete and submit all of these assignments. It is due the Saturday before the start of the inning at 5pm
Submit your work here: Survey Link
- Do this
Ruby and Rails Versions
Follow this guide to make sure your versions are correct.
Intro to APIs
Everything we build in Mod 3 will focus on building and consuming APIs.
Work through this tutorial to get a brief intro to APIs.
Deeply Nested Collections
When consuming APIs, the data is often returned in deeply nested collections, so you will need to tap into your Mod 1 skills to practice digging through them to retrieve the data you need.
Fork and clone Here Be Dragons. Get the tests to pass.
In Mod 3, we will focus not only on getting code to work but also writing high quality code. This will involve topics covered in mod 1 such as creating classes and methods, adhering to SRP, and general refactoring principles. Review these topics by forking and cloning the refactoring workshop. Work through the activity in the README. This was designed as a partnered activity. You may choose to pair with a classmate or work solo. If working alone, write answers to the questions in your notebook instead of discussing.
- On one piece of paper, write out all of the parts of an example HTTP GET request
- On a separate piece of paper, write out an example 200 response to that request with all of the parts
- Bonus write your explanation as a metaphor
- Bring this to class day 1. This is your ticket into Mod 3 :)
Rewrite your Monster Shop
Module 3 requires you to know URLs, paths and HTTP verbs inside and out. Rewrite the routes file for your Monster Shop to use only methods that map directly to HTTP verbs:
delete. You will probably need to add
as: parameters to make sure your apps continue to work, and tests continue to pass.
If you wrote your routes that way already, replace them using
If you do not own the repo for your project, fork it, and rewrite the routes file individually.
NOTE: This is not because one way is better, but it’s extremely important to understand what every line of your routes file is doing. Rails Engine demands a solid understanding of Rails routing.
Entering Module 3 with a solid understanding of ActiveRecord and SQL is key to getting the module off to a good start. Make sure you are able to write and understand queries that involve multiple
JOIN statements and that combine math functions.
- Complete and understand the Intermediate SQL I challenges.
- Complete and understand the Intermediate SQL II challenges.
We will discuss the following on the first day of the inning:
For further exploration
If you have time, here are some activities that will be valuable not only in Mod 3, but in Mod 4 and the job hunt as well.
Data Structures And Algorithms
We are going to be covering various data structures to prepare you for the job hunt and technical interviews. Complete this former M1 project, Jungle Beats
We are mainly looking for you to get experience with the syntax, and at a minimumum you should understand the JS Data Types, Conditionals, and Looping.