How janpol141414/landsurvey works
This is a PHP/MySQL land-surveying services portal for clients, engineers, and administrators. The principal client workflow is browsing providers, booking an appointment against availability, tracking survey progress, submitting payment, and communicating or leaving feedback. Engineer and admin workspaces manage appointments, schedules, progress, payments, and platform records. The graph preserves the README’s AI assistance and email-notification capabilities. Some subsystem connections are documented only in the README; unsampled implementation details are not inferred.
Main entry points: book-appointment.php Appointment booking · database.php MySQL database · Appointment.php Appointment records · messages.php Client messaging
Components 26
Portal experience
- Service discovery
index.php - Account access
auth/login.php - Client workspace
client/dashboard.php - Provider browsing
client/engineers.php - Company browsing
client/companies.php
Survey workflow
- Appointment booking
client/book-appointment.php - Availability scheduling
models/Schedule.php - Progress tracking
engineer/progress.php - Payment submission
client/payment.php - Ratings feedback
client/feedback.php - Client messaging
api/messages.php
Role operations
- Engineer workspace
engineer/appointments.php - Admin workspace
admin/appointments.php
Shared services
- AI assistance
helpers/AIHelper.php - Notifications
models/Notification.php - Email delivery
helpers/EmailHelper.php
Domain data
- User records
models/User.php - Engineer records
models/Engineer.php - Appointment records
models/Appointment.php - Payment records
models/Payment.php - Message records
models/Message.php - Company records
models/Company.php - MySQL database
config/database.php
Other components
- Client
- Engineer
- Administrator
Connections 35
- Client → Service discovery: explores services
README.md - Client → Account access: signs in
README.md - Engineer → Account access: signs in
README.md - Administrator → Account access: signs in
README.md - Client → Provider browsing: browses engineers
README.md - Client → Company browsing: browses companies
README.md - Client → Appointment booking: books appointment
README.md - Appointment booking → Availability scheduling: checks slots
README.md - Appointment booking → Appointment records: creates booking
README.md - Appointment booking → Engineer records: assigns engineer
README.md - Appointment booking → Notifications: notifies engineer
README.md - Appointment booking → Email delivery: sends confirmation
README.md - Engineer → Engineer workspace: manages work
README.md - Engineer workspace → Appointment records: updates appointments
engineer/appointments.php - Administrator → Admin workspace: manages system
README.md - Admin workspace → Appointment records: manages bookings
admin/appointments.php - Admin workspace → Payment records: verifies payments
- Client → Progress tracking: tracks progress
README.md - Engineer → Progress tracking: updates progress
README.md - Progress tracking → Appointment records: reads progress
engineer/progress.php - Client → Payment submission: submits payment
README.md - Payment submission → Payment records: records payment
client/payment.php - Client → Client messaging: messages engineer
README.md - Engineer → Client messaging: replies to client
README.md - Client messaging → Message records: stores messages
api/messages.php - Client → Ratings feedback: leaves rating
README.md - Client → AI assistance: asks questions
README.md - Client messaging → AI assistance: uses auto-reply
README.md - Appointment records → MySQL database: reads and writes
models/Appointment.php - Engineer records → MySQL database: reads and writes
models/Engineer.php - Message records → MySQL database: reads and writes
models/Message.php - Payment records → MySQL database: reads and writes
models/Payment.php - User records → MySQL database: reads and writes
models/User.php - Company records → MySQL database: reads and writes
models/Company.php - Availability scheduling → MySQL database: reads and writes
models/Schedule.php