This is a React App that allows the user to search for his favorite movies using the data available from the TMDB.
The app also features watchlist and favorites that are stored only locally using a Redux store.
- Node.js
- Npm
- Yarn - This is optional but in this readme I'll be using it on some CLI commands, you can use npm if you want.
- React.js - JavaScript library for building user interfaces
- Axios - Promise based HTTP client
- Prop-Types - Runtime type checking for React props.
- Styled Components - Library that lets you write actual CSS inside JavaScript
- Redux - Predictable state container for JavaScript apps.
- React Redux - Official React binding for Redux.
- React Icons - Icons library
- React Router Dom - DOM bindings for React Router.
- Eslint - Ecmascript linter
- Prettier - Code formatter
- React Testing library - Light-weight solution for testing React components
All you need to do is run yarn
at the root of the project in order to install the dependencies.
First, you have to copy the contents of the file .env.example
to a .env
file, you will notice that the variable REACT_APP_TMDB_TOKEN
is empty. That token is essencial to the app because it is used to make the requests to the TMDB REST server. To generate this token, you must first sign up here and then, go here, look for the API Read Access Token (v4 auth). Inform in the .env
file and you are ready to go.
Run the command yarn start
for a developer environment or yarn build
to generate the production build.
This is a open-sourced software licensed under the MIT license.