/net-flix-capstone

The Popcorn Flix App is a SPA utilizing the concepts of routing with React Router, State Management with Redux. Axios to make calls to a movies API to fetch data, and the user can filter movies by keywords..

Primary LanguageJavaScriptMIT LicenseMIT

Popcorn Flix

Popcorn Flix

📗 Table of Contents

📖 Popcorn Flix

The Popcorn Flix App is the Capstone project for React module three where we are required to build an SPA utilizing the concepts we learnt. I used Axios to make calls to a movies API to fetch data, I used Redux( useSelector and useDispatch) to update the state by filtering movies by title. I can navigate from the home page to a single movie page dynamically using React router, and fetch data with useEffect on page load and with action dispatch, finally, I used Jest and React Testing Library to make component tests and mock API calls.

🛠 Built With

Tech Stack

React React Router Redux Tailwind Jest

Key Features

  • Routing using react-router.
  • App-wide State Management with Redux/Toolkit.
  • Styling with Tailwind CSS.
  • Data-fetching with Axios.
  • Testing with Jest and React Testing Library.

(back to top)

Live Demo

Popcorn Flix

Video Presentation

Presentation

Prerequisites

In order to run this project you need to have the following installed:

- A web browser
- A code editor
- A terminal
- Git
- Node.js

Setup

Clone this repository to your desired folder:

  cd my-folder run `git clone https://github.com/lincoln1883/net-flix-capstone/`

Install

Install this project with:

  cd my-folder run `npm install`

Usage

To run the project, execute the following command:

open the index.html file in your browser using the live server extension.

Run tests

To test please execute the following command:

    run `npm test`

(back to top)

👥 Author

####👤 Lincoln Gibson

🔭 Future Features

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

  • Give a ⭐️ if you like this project!

(back to top)

🙏 Acknowledgments

  • Thank you Microverse.
  • Original design idea by Nelson Sakwa on Behance.

(back to top)

📝 License

This project is MIT licensed.

(back to top)