Quick Start Guide
This guide will get you from zero to a fully functional Film Fanatic instance in under 5 minutes.Prerequisites Check
Before you begin, ensure you have:- Node.js 20+ installed (Download)
- pnpm package manager (Install)
- A TMDB API key (Get free access)
Installation Steps
Install Dependencies
Install all required packages using pnpm:This will install all dependencies defined in
package.json, including React 19, TanStack Start, Convex, Clerk, and more.Configure Environment Variables
Create a
.env.local file in the project root with the following configuration:.env.local
For a quick start, you only need the TMDB credentials. Clerk and Convex can be configured later if you want authentication and cloud sync features.
Verify Your Setup
Once the development server starts, you should see:If you haven’t set up Convex yet, you’ll see a warning about the missing Convex URL. The app will still run in local-only mode using localStorage.
Test the Application
Verify everything works by:- Opening the browser at
http://localhost:3000 - Testing search - Try searching for a movie like “Inception”
- Viewing details - Click on any movie/show to see the detail page
- Adding to watchlist - Add items to your watchlist (stored locally without auth)
What’s Running?
Thepnpm dev command starts multiple processes:
| Process | Port | Purpose |
|---|---|---|
| Vite Dev Server | 3000 | Frontend development server with HMR |
| Convex Dev | N/A | Backend functions with hot reload |
Common Issues
Port 3000 already in use
Port 3000 already in use
If port 3000 is occupied, you can change it in Or kill the process using port 3000:
package.json:pnpm not found
pnpm not found
Install pnpm globally:Or use npx:
TMDB API errors
TMDB API errors
Verify your TMDB access token is correct:
- Go to TMDB Settings
- Copy the “API Read Access Token” (not the API Key)
- Ensure it’s set as
VITE_TMDB_ACCESS_TOKENin.env.local - Restart the dev server after updating environment variables
Module not found errors
Module not found errors
Clear the dependency cache and reinstall:
Next Steps
Now that you have Film Fanatic running locally, you can:Full Installation Guide
Set up Clerk authentication and Convex cloud sync
Configuration
Customize your Film Fanatic instance
Development
Learn about the codebase and contribute
API Reference
Explore hooks and backend functions
