How print1username/cos30020-assignment-1 works
Boardgame Hub is a PHP website for discovering board games and activities, registering for sessions, and managing an account. The visible journey starts at the home page, branches into catalogue browsing or activity discovery, and lets signed-in users submit activity registrations and edit their profile. The map also preserves community pages and authentication, though their implementations were not sampled. Edges are limited to links and file access visible in excerpts or the source index; community and authentication internals remain uncertain.
Main entry points: navbar.js Navigation UI · index.php Home · activities.php Activity listings · update_profile.php Profile update
Components 24
Discovery
- Home
index.php - Main menu
main_menu.php - Game catalogue
catalog.php - Catalogue filters
components/catalog.js - Community pages
community.php - Community detail
community_detail.php - Catalogue data
data/catalog.json
Activities
- Activity listings
activities.php - Pagination
components/pagination.js - Activity registration
activity_reg.php - Registration UI
components/activitiy_reg.js - Activity data
data/activities.json
Accounts
- Login
login.php - Sign up
registration.php - Registration handler
process_registration.php - Profile
profile.php - Profile update
update_profile.php - Image cropper
components/profile_crop.js - User records
data/User/user.txt - Profile images
profile_images
Shared UI
- Session navbar
navbar.php - Navigation UI
components/navbar.js - About page
about.php
Other components
- Visitor
Connections 22
- Visitor → Home: opens
- Home → Main menu: links to
index.php - Home → Game catalogue: links to
index.php - Home → Community pages: links to
index.php - Game catalogue → Catalogue data: reads
catalog.php - Activity listings → Activity data: reads
activities.php - Activity listings → Pagination: calls
activities.php - Activity listings → Activity registration: links to
activities.php - Activity registration → User records: reads or writes
- Login → Sign up: offers signup
- Sign up → Registration handler: submits to
- Profile → User records: reads
profile.php - Profile update → User records: updates
update_profile.php - Profile update → Profile images: stores image
update_profile.php - Profile update → Image cropper: renders crop UI
- Session navbar → Navigation UI: loads
navbar.php - Navigation UI → Login: links to
components/navbar.js - Navigation UI → Sign up: links to
components/navbar.js - Navigation UI → Profile: links to
components/navbar.js - Navigation UI → Activity listings: links to
components/navbar.js - Navigation UI → Community pages: links to
components/navbar.js - Navigation UI → About page: links to
components/navbar.js