An open API service indexing awesome lists of open source software.

https://github.com/shailendrasingh189/trailerly

🎬 Trailerly – A modern movie search app built with React.js. πŸ”Ž Search movies, view details, and watch trailers instantly. πŸ› οΈ Tech: React.js Β· TMDb API Β· React Router
https://github.com/shailendrasingh189/trailerly

appwrite react-router reactjs tailwindcss tmdb tmdb-api

Last synced: 3 months ago
JSON representation

🎬 Trailerly – A modern movie search app built with React.js. πŸ”Ž Search movies, view details, and watch trailers instantly. πŸ› οΈ Tech: React.js Β· TMDb API Β· React Router

Awesome Lists containing this project

README

          

# 🎬 Trailerly

> Discover movies, explore detailed info, and watch trailers instantly with a sleek UI. Built with **React.js**, **Appwrite**, **Tailwind CSS**, and powered by the **TMDB API**.

---

## 🧭 Table of Contents

* πŸ€– [Introduction](#-introduction)
* βš™οΈ [Tech Stack](#%EF%B8%8F-tech-stack)
* πŸ”‹ [Features](#-features)
* 🀸 [Quick Start](#-quick-start)
* πŸ•ΈοΈ [Snippets](#%EF%B8%8F-snippets-code-to-copy)
* πŸ”— [Assets](#-assets)
* πŸš€ [More](#-more)

---

## πŸ€– Introduction

**Trailerly** is a movie discovery web application where users can:

* Browse trending movies
* Search any movie title
* View complete details like plot, cast, rating
* Watch trailers directly

It features a **modern, responsive design** and is powered by the **TMDB API** for real-time movie data and trailers.

---

## βš™οΈ Tech Stack

### πŸ”Ή React.js

A powerful JavaScript library by Meta for building responsive UIs.

### πŸ”Ή Appwrite

An open-source Backend-as-a-Service (BaaS) platform used for future-ready authentication and database services.

### πŸ”Ή Tailwind CSS

A utility-first CSS framework for rapidly building custom, responsive UI.

### πŸ”Ή TMDB API

The Movie Database API used to fetch real-time data about movies, posters, ratings, and trailers.

### πŸ”Ή Vite

A fast modern frontend build tool that improves development performance.

---

## πŸ”‹ Features

* πŸ”Ž **Search Movies** – Search movies by name with instant results
* 🎬 **Watch Trailers** – Click to watch official trailers via YouTube
* πŸ“Š **Trending Section** – Displays dynamic trending movies
* πŸ“ **Detailed Movie Pages** – Shows title, overview, release date, rating, cast
* πŸ“± **Responsive Design** – Optimized for all screen sizes

---

## 🀸 Quick Start

### Prerequisites

* Node.js
* npm
* Git

### Clone the Repository

```bash
git clone https://github.com/your-username/trailerly.git
cd trailerly
```

### Install Dependencies

```bash
npm install
```

### Set Environment Variables

Create a `.env.local` file in the root and add:

```env
VITE_TMDB_API_KEY=your_tmdb_api_key
VITE_MOVIE_API_BASE_URL=tmdb_movie_api_base_url
VITE_APPWRITE_PROJECT_ID=your_appwrite_project_id
VITE_APPWRITE_DATABASE_ID=your_appwrite_database_id
VITE_APPWRITE_COLLECTION_ID=your_appwrite_collection_id
VITE_APPWRITE_ENDPOINT=appwrite_endpoint_url
```

### Run the App

```bash
npm run dev
```

Open [http://localhost:5173](http://localhost:5173) to view the app.

---

## πŸ•ΈοΈ Snippets (Code to Copy)

> You can explore reusable components like:

* `components/MovieCard.jsx`
* `components/Search.jsx`
* `components/Spinner.jsx`

---

## πŸ”— Assets

* Logo and icons from the TMDB official kit
* Trailer thumbnails via YouTube API

---

## πŸš€ More

I wanted to build more amazing projects. Level up with advanced React.js or dive into full-stack apps with Next.js and nodejs !

---

## πŸ™Œ Contribution

Pull requests are welcome. For major changes, open an issue first to discuss what you would like to change.

---

## ✨ Inspired

by Mastery Javscript

## πŸ“„ License

MIT

---

## πŸ‘¨β€πŸ’» Author

**Your Name** – [LinkedIn](www.linkedin.com/in/shailendrasingh189) | [GitHub](www.github.com/in/shailendrasingh189)

---