What problem does it solve?
Building backend quiz APIs often requires boilerplate routing, data validation, and data persistence patterns that are error-prone and hard to standardize across projects. This skill provides a vetted Express API blueprint focused on quizzes, with JSON-file data storage, consistent responses, and robust validation to reduce duplication and mistakes.
Core Features & Use Cases
- RESTful quiz endpoints: Health, list quizzes, and fetch full quiz data with questions.
- File-based data storage: Use JSON files to store quizzes and load them at runtime.
- Validation with Zod: Enforce strict schema validation for quizzes and questions.
- Structured project layout: Clear separation of routes, controllers, and services for maintainability.
- Error handling patterns: Consistent error responses for not found and validation errors.
Quick Start
Hook this skill into your Express app and load quiz data from backend/data/quizzes to bootstrap the API.