Skip to content

Conversation

@brownav
Copy link

@brownav brownav commented Jun 19, 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 links:

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

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