How abdulrahman-elnabawi/project-management works
This repository is a Laravel project/task management API with a small React informational frontend. The main backend workflow routes API requests to authentication, project, and task controllers, which validate requests and use Eloquent models to return JSON. The frontend provides Home, About, and Contact pages through client-side routing; no sampled evidence shows it calling the API. Connections among routes and controllers are supported by the source index, while several backend modules were not sampled in full.
Main entry points: api.php API routes · App.jsx Page router · app.php App bootstrap · index.php HTTP entry
Components 18
Laravel runtime
- HTTP entry
public/index.php - App bootstrap
bootstrap/app.php - API routes
routes/api.php - Web routes
routes/web.php
API workflows
- Authentication
app/Http/Controllers/API/AouthController.php - Project API
app/Http/Controllers/API/ProjectController.php - Task API
app/Http/Controllers/API/TaskController.php - Test endpoint
app/Http/Controllers/API/TestController.php
Domain models
- User model
app/Models/User.php - Project model
app/Models/project.php - Task model
app/Models/Task.php
React frontend
- React entry
frontend/src/main.jsx - Page router
frontend/src/App.jsx - Home page
frontend/src/pages/Home.jsx - About page
frontend/src/pages/About.jsx - Contact page
frontend/src/pages/Contact.jsx
Other components
- API client
- Browser user
Connections 17
- API client → HTTP entry: sends request
- HTTP entry → App bootstrap: loads application
public/index.php - App bootstrap → API routes: configures routes
bootstrap/app.php - App bootstrap → Web routes: configures routes
bootstrap/app.php - API routes → Authentication: routes requests
routes/api.php - API routes → Project API: routes requests
routes/api.php - API routes → Task API: routes requests
routes/api.php - Web routes → Test endpoint: routes requests
routes/web.php - Authentication → User model: creates and finds
app/Http/Controllers/API/AouthController.php - Project API → Project model: manages projects
app/Http/Controllers/API/ProjectController.php - Task API → Task model: manages tasks
app/Http/Controllers/API/TaskController.php - Task model → Project model: belongs to
app/Models/Task.php - Browser user → React entry: opens app
- React entry → Page router: renders
frontend/src/main.jsx - Page router → Home page: routes to
frontend/src/App.jsx - Page router → About page: routes to
frontend/src/App.jsx - Page router → Contact page: routes to
frontend/src/App.jsx