| .vscode | |||
| dev | |||
| public | |||
| src | |||
| .gitignore | |||
| CLAUDE.md | |||
| DEPLOYMENT.md | |||
| LICENSE | |||
| README.md | |||
| index.html | |||
| package-lock.json | |||
| package.json | |||
| vite.config.js |
Quiz Craft
Create and take AI-generated assessments with ease
Quiz Craft is a Vue.js web application that enables users to create, upload, and take custom assessments. It features built-in 9th-grade readiness assessments and supports AI-generated quizzes through a simple copy-paste workflow.
๐ Features
- Pre-built Assessments: Ready-to-use 9th-grade assessments covering History, Geography, Science, Math, and Language Arts
- AI Integration: Built-in prompts for generating assessments with ChatGPT, Claude, or other AI assistants
- Multiple Input Methods: Upload JSON files or paste JSON directly
- Paginated Interface: Questions displayed 5 per page for better user experience
- Progress Tracking: Visual progress bar and question counter
- Comprehensive Scoring: Total score plus subject-by-subject breakdown
- Local Storage: Uploaded assessments persist across sessions
- Responsive Design: Works on desktop and mobile devices
๐ Live Demo
Visit quiz-craft.example.com (update with your deployed URL)
๐ ๏ธ Technology Stack
- Vue 3 with Composition API
- Vite for fast development and building
- Vue Router for navigation
- LocalStorage for data persistence
- Cloudflare Pages ready
๐ฆ Installation
# Clone the repository
git clone https://github.com/toreyheinz/quiz-craft.git
cd quiz-craft
# Install dependencies
npm install
# Start development server
npm run dev
๐๏ธ Building for Production
# Build for production
npm run build
# Preview production build
npm run preview
โ๏ธ Deployment
Cloudflare Pages
- Push your code to GitHub
- Connect your GitHub repository to Cloudflare Pages
- Set build configuration:
- Build command:
npm run build - Build output directory:
dist - Root directory:
/
- Build command:
Other Platforms
The built files in dist/ can be deployed to any static hosting service.
๐ Creating Custom Assessments
Method 1: Using AI
- Go to the "AI Guide" tab
- Copy one of the example prompts
- Paste into your favorite AI chat (ChatGPT, Claude, etc.)
- Copy the generated JSON
- Paste into the "Paste JSON" tab
Method 2: Manual Creation
Create a JSON file following this structure:
{
"title": "Your Assessment Title",
"description": "Brief description",
"subjects": [
{
"name": "Subject Name",
"questions": [
{
"id": 1,
"question": "Question text?",
"options": ["Option A", "Option B", "Option C", "Option D"],
"correctAnswer": 0
}
]
}
]
}
Important Notes:
correctAnsweruses 0-based indexing (0 = first option, 1 = second, etc.)- Each question must have exactly 4 options
- Question IDs must be unique numbers
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Built with Vue.js and Vite
- Inspired by the need for easy assessment creation
- Thanks to all contributors
๐ง Contact
Torey Heinz - GitHub
Project Link: https://github.com/toreyheinz/quiz-craft