Skip to content

nagraj05/themoviesapp

Repository files navigation

CINEWARS

CINEWARS is a movies website built using Vite, React, and Tailwind CSS. It utilizes the TMDB API to fetch movie data and provide a seamless movie browsing experience. This README.md file provides an overview of the project and instructions for running the website locally.

Features

  • Browse popular, top-rated, and upcoming movies
  • Search for movies by title
  • View detailed information about each movie, including synopsis, release date, and average rating
  • Watch movie trailers
  • Responsive design for optimal viewing on various devices

Technologies Used

  • Vite
  • React
  • Tailwind CSS
  • TMDB API

Getting Started

Follow the instructions below to get a local copy of the project up and running on your machine.

Prerequisites

  • Node.js (version 12 or above)
  • NPM (Node Package Manager) or Yarn

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/your-username/themoviesapp.git
  1. Navigate to the project directory:
cd themoviesapp
  1. Install the dependencies using NPM or Yarn:
npm install

or

yarn install

Configuration

To use the TMDB API, you need to obtain an API key. Follow these steps to get your API key:

  1. Sign up for an account on https://www.themoviedb.org/ if you don't have one already.
  2. Visit the API Settings page and create a new API key.
  3. Copy the generated API key. Once you have the API key, create a .env file in the root directory of the project and add the following line:
VITE_TMDB_API_KEY=your-api-key-goes-here

Replace your-api-key-goes-here with your actual API key.

Running the Website

To start the development server, run the following command:

npm run dev

or

yarn dev

Once the server is running, you can access the website in your browser at http://localhost:3000.

Building for Production

To build the website for production, use the following command:

npm run build

or

yarn build

The optimized and minified files will be generated in the dist directory.

Acknowledgments

Enjoy exploring CINEWARS! If you have any questions or feedback, please don't hesitate to contact me.

About

Get info of Movies, Shows, Celebrities, Anime, Kdrama & many more. Uses TMDB APIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published