yagoag / the-movie-catalog

🎞 A movie catalog with data provided by TheMovieDB.org

Home Page:https://themoviecatalog.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Movie Catalog

Netlify Status

Informações em Português

Browse movies from TheMovieDB.org.

Access it at https://themoviecatalog.netlify.com

Run locally

  1. Create an account on TheMovieDB.org then navigate to your settings and register an app to get an access token to the API, if you don't already have one.

    Rembember: this app uses the API Read Access Token (v4 auth), not the API key.

  2. Set the REACT_APP_API_TOKEN environment variable with the token you were provided

    You can either set it on your system or, preferably, just create an .env file in the root folder of the project with the following content:

    REACT_APP_API_TOKEN=YOUR_API_TOKEN_GOES_HERE
    
  3. Install it...

    yarn
    
  4. ...then run it

    yarn start
    

To run the tests, you can just yarn test, and to run a production build, yarn build.

You can also use npm, just make sure to delete your yarn.lock file, otherwise you might have some complaining.

About

🎞 A movie catalog with data provided by TheMovieDB.org

https://themoviecatalog.netlify.com

License:MIT License


Languages

Language:TypeScript 87.8%Language:SCSS 9.0%Language:CSS 1.6%Language:JavaScript 0.8%Language:HTML 0.8%