- 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
4 lines
105 B
Rust
4 lines
105 B
Rust
pub mod postgres_material_repository;
|
|
|
|
pub use postgres_material_repository::PostgresMaterialRepository;
|