For this project, our team built a movie review app using React and React Router, focusing on the following learning goals:
- Writing clear user stories and acceptance criteria
- Implementing end-to-end testing using Cypress
- Understanding React fundamentals
- Using network requests to ingest data from an API
- Creating a multi-page UX using Router
- Clone into the repo
- Enter
npm install
in terminal - Run
npm start
to connect tolocalhost:3000
- Enter
npm run Cypress
to run tests - Navigate to
http://localhost:3000/
to view the site
- On the main page, view a list of all movies and their ratings
- Click on any movie to view additional information on the film
- From any individual movie, click the back arrow on the page to return to the main view
- Click the app title
Rancid Tomatillos
to return to the main page - Use the search bar to search for any movie title
- React
- React Router
- Cypress for testing
- NPM
- Heroku
- HTML
- CSS
- Github pages for deployment
Through refactoring our application to use React Router, we encountered some implementation issues. However, once we had Router working, it became clear how much easier it is to perform conditional rendering using this tool. After spending time writing applications using vanilla JS, we feel extremely grateful for the work that has gone into building React. This tool makes writing web apps much more streamlined.