A full-stack quiz application with automated question generation using Azure OpenAI, built with Next.js (frontend) and .NET 8 (backend).
- Docker and Docker Compose
- Azure CLI (for production deployment)
- Node.js 18+ (for local development without Docker)
- .NET 8 SDK (for local backend development)
-
Clone the repository
git clone <repository-url> cd panterne
-
Set up environment variables
cp .env.example .env.local # Edit .env.local with your configuration -
Start all services
docker compose -f docker-compose.local.yml up
-
Access the application
- Frontend: http://localhost:3000
- Backend API: http://localhost:5001
- Backend Swagger: http://localhost:5001/swagger
- PostgreSQL: localhost:5434
See docs/PRODUCTION_DEPLOYMENT.md for detailed deployment instructions.
panterne/
├── frontend/ # Next.js frontend application
├── backend/ # .NET 8 Web API backend
├── infrastructure/ # Azure Bicep infrastructure as code
└── docs/ # Documentation
- Automated Question Generation: Daily quiz questions generated using Azure OpenAI
- Multiple Categories: Support for various quiz categories
- User Authentication: GitHub and Google OAuth integration
- Leaderboards: Track user scores and rankings
- Real-time Updates: Live quiz sessions with instant feedback
- Local Setup Guide - Detailed local development setup
- Production Deployment - Azure deployment guide
- Environment Variables - Complete environment variable reference
- Next.js 14
- TypeScript
- TailwindCSS
- React
- .NET 8
- ASP.NET Core Web API
- Entity Framework Core
- PostgreSQL
- Hangfire (background jobs)
- Azure OpenAI
- Azure Container Apps
- Azure Container Registry
- Azure PostgreSQL Flexible Server
- Azure Log Analytics
Frontend (without Docker)
cd frontend
npm install
npm run devBackend (without Docker)
cd backend/QuizApi
dotnet restore
dotnet runDatabase Migrations
cd backend/QuizApi
dotnet ef database update- Create a feature branch
- Make your changes
- Test locally using
docker compose -f docker-compose.local.yml up - Submit a pull request
[Your License Here]