This project is a single-page application (SPA) that allows users to search for movies and TV shows using the TMDB API. It features search functionality by genre and year, displays trending TV shows, and integrates user authentication with OIDC.
- Search for movies and TV shows by genre and year.
- View trending TV shows for the previous 7 days on the front page.
- Display search results in a responsive UI.
- View reviews for a particular movie or TV show.
- Submit ratings for movies and TV shows.
- User authentication using an OpenID Connect (OIDC) provider.
- React
- TypeScript
- Next.js
- Tailwind CSS
- TMDB API
To get started with this project, you'll need to have Node.js installed on your machine.
- Clone the repository:
git clone https://github.com/jamesboydbright/laravel-stripe
- Navigate to the project directory:
cd tmdb-movie-search-app
- Install the dependencies:
npm install
- Create a
.env.local
file in the root directory and add your TMDB API key:NEXT_PUBLIC_TMDB_API_KEY=your_api_key_here
- Start the development server:
The application will be available at
npm run dev
http://localhost:3000
.
To build the application for production, run:
npm run build
To run the test suite, execute:
npm run test
After starting the development server, you can:
- Use the search bar to find movies and TV shows by genre and year.
- Click on a movie or TV show to view its details and read reviews.
- Authenticate using the "Login" button to submit ratings.
Contributions to this project are welcome. Please open an issue to discuss your ideas or submit a pull request.
This project is licensed under the MIT License.
- This project uses the TMDB API but is not endorsed or certified by TMDB.
- Thanks to all the contributors who have helped with this project.