How gatlat97/student-housing-db works
This PHP/MySQL student-housing application lets students browse rental listings, maintain student profiles and housing preferences, and search for compatible roommates. The main user journey starts at the home page, which links to housing, roommate search, and profile pages; those pages query or update MySQL and render results. A separate importer loads CSV datasets into the database. The excerpts support these page-to-database interactions, but do not establish how listing add/remove pages are reached or fully describe the schema.
Main entry points: index.php Home navigation · profile.php Student profile · roommates.php Roommate search · housing.php Housing search
Components 11
Web application
- Home navigation
webpages/index.php
Student features
- Student profile
webpages/profile.php - Roommate search
webpages/roommates.php
Housing listings
- Housing search
webpages/housing.php - Add listing
webpages/add_housing.php - Remove listing
webpages/remove.php
Data management
- CSV datasets
database - CSV importer
database/import.php - Database schema
database/schema.sql
Other components
- Student
- MySQL database
Connections 11
- Student → Home navigation: opens
README.md - Home navigation → Housing search: links to
webpages/index.php - Home navigation → Roommate search: links to
webpages/index.php - Home navigation → Student profile: links to
webpages/index.php - Housing search → MySQL database: queries listings
webpages/housing.php - Student profile → MySQL database: reads and updates
webpages/profile.php - Roommate search → MySQL database: searches and updates
webpages/roommates.php - Add listing → MySQL database: inserts listing
webpages/add_housing.php - Remove listing → MySQL database: deletes listing
webpages/remove.php - CSV datasets → CSV importer: provides CSV files
database/import.php - CSV importer → MySQL database: imports rows
database/import.php