A web-based trivia game that tests your knowledge of Black Cinema. Built with Next.js 14, TypeScript, Tailwind CSS, and Firebase.
Create a .env.local
file in the root directory with the following variables:
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_firebase_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_firebase_app_id
OMDB_API_KEY=your_omdb_api_key
CLAUDE_API_KEY=your_claude_api_key
Clone the repository:
git clone https://github.com/yourusername/black-film-trivia.git
cd black-film-trivia
Install dependencies:
npm install
Run the development server:
npm run dev
Open http://localhost:3000 in your browser.
.env.local
filerules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /leaderboard/{document=**} {
allow read: if true;
allow write: if request.auth != null;
}
}
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.