feat(dimentorin): materials module (CRUD konten mentoring, public+protected routes)

- app_materials table: mentor_id, title, slug, category, description, content
- domain/application/infrastructure pola articles: repo postgres, service, DTO ZodValidate
- routes: GET /materials (public, published only), GET /materials/{id|slug|categories}, POST/PUT/DELETE (auth, author-only)
- verified e2e: create 3 materi sebagai mentor, list, slug, categories
This commit is contained in:
asepharyana
2026-08-05 17:01:59 +07:00
parent b4a9972ad7
commit ac8177d87e
19 changed files with 801 additions and 3 deletions
@@ -0,0 +1,3 @@
pub mod postgres_material_repository;
pub use postgres_material_repository::PostgresMaterialRepository;