Skip to content

A React APP for the cinema lovers that uses a public API to find movies

License

Notifications You must be signed in to change notification settings

igorsouza-dev/what-movie

Repository files navigation

What Movie?

Overview

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.

Setting up

Requirements

  • 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.

Dependencies

Dev Dependencies

Installing

All you need to do is run yarn at the root of the project in order to install the dependencies.

Configuring the API

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.

Running

Run the command yarn start for a developer environment or yarn build to generate the production build.

License

This is a open-sourced software licensed under the MIT license.

About

A React APP for the cinema lovers that uses a public API to find movies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages