Skip to content

dev-palwar/Movie-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A React Movies App 🍿

This is a simple React application that fetches movie data from an API and displays movie details. This app was done for educational purposes, The style is based on vitordino's design.

Prerequisites

Make sure you have Node.js and npm (Node Package Manager) installed on your system. You can download them from nodejs.org.

Installation

Clone the repository to your local machine:

  • cd movie-react-app
  • npm install
  • npm start

After Installation, you need to set up some environment variables, so make a .env file in the root directory. You'll need 3 variables

1. REACT_APP_TMDB_TOKEN     # Your Api key

// These are not necessary. Only use if the backend is configured
2. REACT_APP_BACKEND_URL    # For local machine it is "http://localhost:your-port"
3. REACT_APP_BACKEND_AUTH   # Whatever you configure in google console

API

This project uses The Movie Database (TMDb) API to fetch movie data. You will need to sign up for an API key and replace it in the .env file.

Backend

The Backend of this App can be found here. So follow the README file for backend setup

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

_Fork the repository
_Create a new branch for your feature or bug fix
_Make your changes and commit them
_Push to your branch
_Create a pull request

If you have any other questions or need further assistance, feel free to reach out to me on Twitter @dev_palwar2.