How heangdev/ai-reantask works
This repository combines an education-management frontend—covering classes, students, assignments, tasks, dashboards, reports, and account administration—with a Laravel backend that currently appears to be a framework scaffold. The visible user-facing flow is navigation through the React application into role-specific feature areas; global search builds selectable page, assignment, task, and settings actions. Backend request handling is wired through Laravel’s bootstrap and web routes. Evidence is limited: the README is empty and most feature implementations were not sampled, so unverified frontend routing and feature-to-feature calls are not drawn.
Main entry points: useSearchItems.tsx Global search · app.php Laravel bootstrap · User.php User model · index.php HTTP entry
Components 25
Frontend shell
- App shell
app/src/app/App.tsx - App router
app/src/app/router.tsx - Global search
app/src/features/search/hooks/useSearchItems.tsx
Learning management
- Assignments
app/src/features/assignments - Classes
app/src/features/classes - Students
app/src/features/students - Tasks
app/src/features/tasks - Dashboards
app/src/features/dashboard - Score reports
app/src/features/reports
Administration
- Authentication
app/src/features/auth - Account
app/src/features/account - Teachers
app/src/features/teachers - Subjects
app/src/features/subjects - User administration
app/src/features/users - Integrations
app/src/features/integrations - Notifications
app/src/features/notifications - Settings
app/src/features/settings
Laravel backend
- HTTP entry
api/public/index.php - Laravel bootstrap
api/bootstrap/app.php - Web routes
api/routes/web.php - User model
api/app/Models/User.php - User factory
api/database/factories/UserFactory.php - Database seeder
api/database/seeders/DatabaseSeeder.php - App provider
api/app/Providers/AppServiceProvider.php
Other components
- User
Connections 8
- HTTP entry → Laravel bootstrap: boots
api/public/index.php - Laravel bootstrap → Web routes: registers routes
api/bootstrap/app.php - User factory → User model: creates
api/database/factories/UserFactory.php - Database seeder → User model: seeds
api/database/seeders/DatabaseSeeder.php - Global search → Assignments: reads assignments
app/src/features/search/hooks/useSearchItems.tsx - Global search → Classes: scopes classes
app/src/features/search/hooks/useSearchItems.tsx - Global search → Tasks: lists tasks
app/src/features/search/hooks/useSearchItems.tsx - Global search → Authentication: reads session
app/src/features/search/hooks/useSearchItems.tsx