This guide walks you through setting up Quizmaster on your local machine. You will clone the repository, install dependencies for the backend and frontend, configure environment variables, start both servers, and log in with the default admin account.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/geeky-hamster/Quizmaster/llms.txt
Use this file to discover all available pages before exploring further.
Configure the backend environment
Copy the example environment file and fill in your values:Open If the database does not exist yet, create it:
.env and set your database credentials and JWT secret:.env
Start the backend server
Start the backend in development mode:The API will be available at
http://localhost:5000/api.Install frontend dependencies
Open a new terminal, navigate to the frontend directory, and install dependencies:
Start the frontend server
Start the React development server:The frontend will open at
http://localhost:3000 and connect to the backend at http://localhost:5000/api by default.Default admin credentials
On first start, Quizmaster seeds a default admin account automatically:| Field | Value |
|---|---|
| Username | admin@quizmaster.com |
| Password | admin123 |
Change the default admin password immediately after your first login. Using the default credentials in any shared or production environment is a security risk.