This is a Next.js project bootstrapped with create-next-app.
This is a responsive and dynamic movie library application built using Next.js, TypeScript, and Tailwind CSS. It integrates the TMDb API for fetching movie data.
- Display popular movies with infinite scrolling.
- Search movies by title.
- View detailed information about each movie.
- Add movies to your favorites list.
- Responsive design with Tailwind CSS.
- Server-Side Rendering (SSR) for improved SEO.
- Skeleton loader for enhanced user experience.
- Why: Lightweight and highly customizable for responsive design.
- Trade-Off: Requires learning Tailwind's utility classes but simplifies complex styling needs.
- Why: Enhances user experience by loading movies dynamically.
- Trade-Off: Increased API calls, which can affect performance.
- Why: Simple and effective for persisting data without backend dependencies.
- Trade-Off: Data is browser-specific and cannot sync across devices.
- Why: Improves initial load times and SEO by pre-rendering the homepage.
- Trade-Off: Slightly increased server load during requests.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.