Rec & Triv is a web application that offers personalized movie recommendations and engaging trivia games based on selected movies. Discover new films and test your knowledge all in one place! This is my official submission to the Modus Hackathon 2024, hosted in Hashnode.
Detail Article Rec & Triv
Movie Recommendations: Get tailored movie suggestions using Modus Collections. Trivia Games: Play trivia games generated from selected movies. Interactive Experience: Combine the fun of discovering movies with the challenge of trivia. AI-Powered Questions: Trivia questions are generated using the Meta Llama 3.1 8B AI model.
Frontend: Next.js 14 for a seamless user interface. Backend: Modus hosted on Hypermode for a robust backend infrastructure. Data Sources: TMDB API for movie data. Wikipedia for additional movie information. AI Model: Meta Llama 3.1 8B hosted on Hypermode for generating trivia questions.
Clone the Repository
git clone https://github.com/trace2798/trivia-modus.git
Navigate to the Project Directory
cd rec-and-triv
npm install
Set Up Environment Variables
Create a .env file in the root directory and add the following:
MODUS_API_BASE=your hosted server link
MODUS_API_KEY=your_modus_api_key
Run the Application
npm run dev
Open your browser and navigate to http://localhost:3000.
Usage
Get Recommendations: Navigate to the recommendations section to receive personalized movie suggestions. Play Trivia: Select a movie and start the trivia game to test your knowledge.
License
This project is licensed under the MIT License.