A modern, fast, and personal movie & series discovery platform built with Next.js 16 and Tailwind CSS v4.
Warning
Current Status: This project is designed for local development and testing only. When running locally, you can fully explore new movies, manage watchlists, and use all personal features. However, public user-to-user interaction (sharing reviews globally) is simulated on your local database.
- 🔍 Advanced Discovery: Access the latest movies and TV shows via TMDB API integration.
- 📺 Tracking System: Mark titles as watched and manage your personal watchlist.
- 📊 Personal Profile: View your watch statistics and favorite content.
- 🌓 Modern UI: Sleek, dark-mode-first design powered by Tailwind CSS v4.
- 🔐 Authentication: Secure login options powered by NextAuth.js.
Follow these steps to run the project on your local machine.
- Node.js 18+ must be installed.
- TMDB API Key: You need a free API key from The Movie Database (TMDB) to fetch media data.
Want to run this on your own computer? Here is the foolproof guide.
If you have Git installed, run this command in your terminal/command prompt:
git clone https://github.com/RafaelSanzio01/inthebox
cd inthebox(Or simply download the ZIP from GitHub and extract it).
This project uses Node.js packages. Make sure you are in the inthebox folder and run:
npm installYou MUST create a .env file with the following 3 mandatory settings.
-
Copy the example file:
# Mac / Linux cp .env.example .env # Windows copy .env.example .env
-
Open
.envand ensure these 3 lines are set:TMDB_API_KEY=...(Paste your API Key here)NEXTAUTH_SECRET=changeme123(Required for security, can be any random string for local)NEXTAUTH_URL=http://localhost:3000(Required for redirecting)
-
(Optional) Leave Google/GitHub fields empty to use the Guest Login.
We use Prisma with a local SQLite database (no server installation needed). Run these commands one by one:
# Create the database tables
npx prisma db push
# (Optional) Generate the client if prompted
npx prisma generate
# Populate the database with test data (Users, Reviews, Comments)
npm run seedLaunch the development server:
npm run devOpen your browser and visit: http://localhost:3000 🎉
- Framework: Next.js 16 (App Router)
- Database: SQLite & Prisma ORM
- Auth: NextAuth.js
- API: TMDB API
- Styling: Tailwind CSS v4
- Icons: Lucide React / React Icons
- This project is for educational and personal use.
- Security: Never share your
.envfile publicly. It is excluded from version control via.gitignore. - AI Assistance: AI tools were used in this project.