Skip to content

Olga & Faezeh#8

Open
faezeh-ashtiani wants to merge 36 commits intoAda-C13:masterfrom
faezeh-ashtiani:master
Open

Olga & Faezeh#8
faezeh-ashtiani wants to merge 36 commits intoAda-C13:masterfrom
faezeh-ashtiani:master

Conversation

@faezeh-ashtiani
Copy link

Video Store Consumer

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Paste a link to the PR for your API Ada-C13/video-store-consumer-api#4
For each person in your pair, describe something you learned from your partner during this project Olga: Faezeh helped me revise flexbox and grid and creation of movie cards. Faezeh: Olga taught me how to set timeout for specific actions.
What was one area of React you gained more clarity on during this assignment? We gained more clarity on how two APIs can work together and how to connect a backend server to react using API calls.
Describe how you solved the problem of having lists of movies that look mostly the same but have different content We show all movie cards on our index page and our search page. If they have different content we treat them as a separate items.
Describe how you handled rentals with React Once we chose a movie and a customer, then a rent button appears that on click, react sends an API call to our backend rails server to go to the checkout action in the rentals controller which creates a rental element in our rails database.
Describe a DOM event your application handled In our search function, we activate a handle change event while typing the search phrase, as well as activating an on form submit event when we click on the search icon. This triggers the event handler to execute the block of code.
Did you use any functional stateless components? What for? We have used state for all our components.
Did you use any container components? What for? MoviesSearch component is a container for SearchForm component
Do you have any recommendations on how we could improve this project for the next cohort? It would be nice to give some explanation on what is the general way to connect the rails to react (API calls). our team spent some time trying to setup webpacker, which was a wrong approach.

faezeh-ashtiani and others added 30 commits June 22, 2020 15:41
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