Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 1.82 KB

README.md

File metadata and controls

65 lines (40 loc) · 1.82 KB

React Movie DB 🎬

Application that consumes The Movie DB API

This project was bootstrapped with Create React App.

Stack

Available Scripts

Running with Docker:

Build and Run

docker-compose up -d --build

Run

docker-compose up react-app

Stop Container

docker-compose stop

Running localy:

[!!!] Make sure you create an .env file with the respective keys:

NODE_PATH=src/
REACT_APP_MOVIE_DB_API='https://api.themoviedb.org/3/'
REACT_APP_MOVIE_DB_API_KEY='[YOUR_KEY_API_HERE]'

In the project directory, you can run:

npm start or yarn start

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

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test or yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build or yarn 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.

npm run eject or yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!