Skip to content

Instantly share code, notes, and snippets.

View trishalanglois's full-sized avatar

Trisha Langlois trishalanglois

View GitHub Profile

Abstract

SWAPI was a paired project that focused heavily on fetching data from the Star Wars API and then cleaning the data to put it in a usable format. The project also utilized Router, asynchronous functionality, UX/UI design, and test-driven development.

Overall

What is your approach to working on a team? (In your answer, provide an example from this project)

For this project, I played more of a tugboat role than I normally do. There were some features that my partner really wanted to implement, and when I found that we were spending too much time in those rabbit holes, I set timers for us to either ask for help when we got to a certain point or move on with more important things with project requirements. Overall, though, my partner and I worked really, really well together. We both prioritized this project above everything else we had going on, and that allowed us to put in the hours needed to make this a polished project. Our mutual enthusiasm and attitudes was really motivating for on

The Challenge

Given the following data sets, return an array of objects for each human and the age(s) they were in the movie(s) they were cast in, as an array of age(s). Only include humans who were cast in at least one movie.

const dinosaurs = { 
  Brachiosaurus: { carnivore: false, herbivore: true, isAwesome: true },
  Dilophosaurus: { carnivore: true, herbivore: false, isAwesome: true },
  Gallimimus: { carnivore: true, herbivore: true, isAwesome: false },
  Triceratops: { carnivore: false, herbivore: true, isAwesome: true },
  Parasaurolophus: { carnivore: false, herbivore: true, isAwesome: false },
@trishalanglois
trishalanglois / Mod-3-Final-Notes.md
Last active January 15, 2020 15:48
React w/ Jest, Router, Redux

Creating a React App

  1. In the terminal run: npx create-react-app NAME-OF-APP
  2. Cd into the new directory: cd NAME-OF-APP
  3. Run: npm install.
  4. You can run npm start to see if the app was set up correctly.

Setup Redux

  1. npm i redux react-redux redux-devtools-extension -S

Guiding Questions to Define The Relationship:

  • What are each of our learning goals for this project? What drives us in this project? Trisha - have a great partner experience with Foster because this will be my last partner/group project at Turing. Technology-wise, I would like more practice with implementing knex syntax to get data that we want (rather than getting the whole database, then cleaning data to display). Foster -
  • What is your collaboration style? How do you feel about pair programming vs. divide-and-conquer approaches? Trisha - I prefer working side by side with my partner so we both get the benefits of learning whatever it is that we're working on. For this project, however, because there are some outside circumstances, e.g. job interviews, I think remote work and possibly dividing and conquering may be better so we have the capacity to focus on some of our outside commitments that we have as Mod 4 students. Foster -
  • How do you communicate best? How do you appreciate receiving commun

What is one command that you'll incorporate into your daily workflow and why? I never knew about git reset! This is super helpful, especially when I've added things to staging that I didn't mean to.

How does rebasing work compared to a merge workflow? Git rebase allows us to "rewrite" our commit history, meaning that we have control over the individual commits that we've made and can modify them, as well as keeping those commits grouped together and separate from the commits from a master branch. It also does not create a commit that shows the merge between the master and feature branch happening.

Why would we ever use git stash? There are times where I'm switching from one branch to another, but I'm unable to because I have unsaved/commited changes. I use git stash often in these situations, then use git stash pop to bring them back in on the branch that I want them to live.

What is the primary difference between git reset —soft and git reset —hard?