Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dani and Mariya - Leaves #25

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open

Dani and Mariya - Leaves #25

wants to merge 43 commits into from

Conversation

dnsanche
Copy link

@dnsanche dnsanche commented Dec 20, 2019

Video Store Consumer

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Paste a link to the PR for your API Ada-C12/video-store-consumer-api#20
For each person in your pair, describe something you learned from your partner during this project Mariya- I learned how to connect the back end to the front end, and how to better google how to fix the problem when it doesn’t work. Dani: I learned from Mariya the benefit of starting slow, but really understanding what we wanted to achieve by doing diagrams, and draws. I really believe that this made the project easier.
What was one area of React you gained more clarity on during this assignment? Mariya - I have a better grasp on the syntax for passing props & callback functions. Dani: I gained more clarity in how the dev tools debugger works for front end applications.
Describe how you solved the problem of having lists of movies that look mostly the same but have different content We created an individual movie component that deals with specific content of each movie.
Describe how you handled rentals with React We created a component checkout, which had associated a button that appeared only when there was a user and movie selected. When the user clicked the button, the method to checkout was triggered, which was making a post request to the internal API and updating the parent component back to empty selected customer and movie for a new checkout.
Describe a DOM event your application handled When you click ‘add a movie’ to takes a movie from the external API database and adds it to our rails (rental library). When the submit button is clicked, the ‘addToLibrary’ function is executed, which calls axios & makes a post request to our database.
Did you use any functional stateless components? What for? No, all our components are class components.
Did you use any container components? What for? We have a container component called Store that houses/contains all the other components of the project.
Do you have any recommendations on how we could improve this project for the next cohort? It was a great learning experience. Thank you for the opportunity!
GSuite Document

dnsanche and others added 30 commits December 16, 2019 16:05
Rentals List and Checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants