How eazyboytt/task-tracker-notion-clone- works
Tasks Tracker is a PHP web app for authenticated team task tracking, with task records, file attachments, user management, and database setup/inspection. The main flow is a browser request through the router to the task interface, which uses task and upload endpoints to manage records and attachments. Sampled code confirms the API’s database operations, authentication checks, and upload/download handling. The README is empty, and the frontend HTML and several core files were not sampled, so their internal behavior and links are not inferred.
Main entry points: router.php Request router · auth.php Session authentication · db.php MySQL data · api.php Task API
Components 16
Web entry
- Request router
router.php - Task interface
tasks-tracker.html
Access management
- Sign-in page
login.php - Session authentication
auth.php - User settings
settings.php - Navigation
nav.php
Task management
- Task API
api.php - Task data view
db-view.php
Attachments
- Task file upload
task-upload.php - File download
upload.php - Upload metadata
db.php - Uploaded files
uploads
Persistence and setup
- Database setup
setup.php - Database access
db.php - MySQL data
db.php
Other components
- Browser user
Connections 29
- Browser user → Request router: sends request
- Request router → Task interface: serves home
router.php - Request router → Database setup: routes setup
router.php - Request router → Task data view: routes data view
router.php - Request router → Task API: routes tasks
router.php - Request router → Task file upload: routes uploads
router.php - Request router → File download: routes file
router.php - Task interface → Session authentication: requires login
- Sign-in page → Session authentication: checks session
login.php - Task API → Session authentication: checks API login
api.php - Task file upload → Session authentication: checks API login
task-upload.php - User settings → Session authentication: requires login
settings.php - Task data view → Session authentication: requires login
db-view.php - User settings → Navigation: renders navigation
settings.php - Task data view → Navigation: renders navigation
db-view.php - Database setup → Navigation: renders navigation
setup.php - Session authentication → Database access: loads database access
auth.php - Database access → MySQL data: connects and defines tables
db.php - Task API → MySQL data: reads and writes tasks
api.php - Task API → Upload metadata: reads and deletes metadata
api.php - Task API → Uploaded files: deletes attached files
api.php - Task file upload → MySQL data: checks tasks
task-upload.php - Task file upload → Upload metadata: writes metadata
task-upload.php - Task file upload → Uploaded files: stores files
task-upload.php - File download → Upload metadata: looks up file
upload.php - File download → Uploaded files: reads file
upload.php - Task data view → MySQL data: reads task records
db-view.php - Database setup → MySQL data: creates and seeds tables
setup.php - User settings → MySQL data: manages users
settings.php