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
- Host: GitHub
- URL: https://github.com/shailendrasingh189/trailerly
- Owner: Shailendrasingh189
- Created: 2025-07-01T09:20:01.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-01T10:32:32.000Z (12 months ago)
- Last Synced: 2025-07-01T11:39:40.899Z (12 months ago)
- Topics: appwrite, react-router, reactjs, tailwindcss, tmdb, tmdb-api
- Language: JavaScript
- Homepage: https://poetic-selkie-1b80ac.netlify.app/
- Size: 6.07 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
---