Skip to content

A React App that consumes TMDB API to display the current trending, upcoming, top rated, and popular movies and tv-shows.

Notifications You must be signed in to change notification settings

Jacobkyalo/movie-app-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie App

About A React App that consumes TMDB API to display the current trending, upcoming, top rated, and popular movies and tv-shows.

GitHub Logo

SetUp

Obtain our TMDB API KEY and place in a .env file

REACT_APP_API_KEY= ****

Then in your api call your can can access the KEY by using

...api_key=${process.env.REACT_APP_API_KEY}

Tech Stack

  1. Fuctional Components - JavaScript functions that accept props as an arguments and returns a React element(JSX).

  2. Material UI - is a library of React UI components that implements Google's Material Design to easily develop apps.

  3. React-router - routing library for react.

  4. axios - Promise based HTTP client for the browser and node.js. e.tc

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

A React App that consumes TMDB API to display the current trending, upcoming, top rated, and popular movies and tv-shows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published