Description
Create a categories module that organises puzzles into thematic or skill-based groupings. Categories give players a sense of direction and allow the frontend to surface curated puzzle collections. They should be manageable by admins and assignable to puzzles at creation or edit time.
Acceptance Criteria
Description
Create a
categoriesmodule that organises puzzles into thematic or skill-based groupings. Categories give players a sense of direction and allow the frontend to surface curated puzzle collections. They should be manageable by admins and assignable to puzzles at creation or edit time.Acceptance Criteria
categoriesmodule is scaffolded atsrc/categories/Categoryentity includes id, name, slug, description, and createdAtPOST /categoriesis restricted to admin usersGET /categoriesreturns all active categories with puzzle countsGET /categories/:slug/puzzlesreturns paginated puzzles within that categoryPATCH /categories/:idandDELETE /categories/:idare admin-only