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

Ampers: Zheng, Alex #4

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

Ampers: Zheng, Alex #4

wants to merge 35 commits into from

Conversation

brownav
Copy link

@brownav brownav commented Jun 21, 2018

Video Store Consumer

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Paste a link to the PR for your API Ada-C9/VideoStoreConsumer-API#2
For each person in your pair, describe something you learned from your partner during this project How to pass params from react to rails backend and how to implement React Router.
What was one area of React you gained more clarity on during this assignment? Gained more clarity on rendering multiple component on static page with customized routes.
Describe how you solved the problem of having lists of movies that look mostly the same but have different content We reused the Movie component for both SearchMovie and MovieCollection components.
Describe how you handled rentals with React We setState for both movie title, customer name, and customer id then made a post request to rentals#check-out using movie title and customer id as params to create a new rental in the database.
Describe a DOM event your application handled We frequently used onClick, one example is when we add a selected movie from search results to the library collection.
Did you use any functional stateless components? What for? No
Did you use any container components? What for? Yes, MovieCollection and CustomerCollection to contain Movie and Customer components.
Do you have any recommendations on how we could improve this project for the next cohort? Clearer instructions on what the requirements where, there was a lot of functionality in the rails framework which was not required or used.

Deployment

  1. Backend: https://pure-everglades-58710.herokuapp.com/movies
  2. Frontend: https://videostoreconsumer.appspot.com/

brownav and others added 30 commits June 18, 2018 15:49
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