How sayujyamaharjan/sa-proposal-artipera works
Artipera is a PHP handyman-booking application with customer, worker, and administrator pages. Its apparent core workflow is customers finding workers and arranging bookings, followed by workers managing and completing those bookings; completion can involve an emailed OTP. The sampled code confirms worker booking and schedule operations, database-backed worker lookup, and OTP handling. The README is minimal and several page implementations are unsampled, so some capability links are intentionally omitted rather than inferred.
Main entry points: artipera (1).sql Application database · workerBooking.php Manage bookings · adminWorker.php Worker administration · fetchWorkers.php Worker lookup
Components 25
Accounts and access
- Sign up and login
pages/signup.php - OTP page
pages/otpPage.php - OTP API
API/auth.php - OTP verification
php/authFunction.php - Role access guard
php/authGuard.php
Worker marketplace
- Worker search
pages/customerSearch.php - Worker details
pages/customerView.php - Saved workers
pages/customerSaved.php - Worker lookup
components/fetchWorkers.php - Customer dashboard
pages/customer.php
Booking operations
- Customer bookings
pages/customerBooking.php - Worker dashboard
pages/worker.php - Schedule and services
pages/workerSchedule.php - Manage bookings
pages/workerBooking.php - Email and OTP
php/emailHandler.php
Administration
- Admin dashboard
pages/admin.php - Worker administration
pages/adminWorker.php - Customer administration
pages/adminCustomer.php - Document endpoint
API/document.php - Worker documents
uploads/worker_documents
Other components
- Customer
- Worker
- Administrator
- SMTP mail service
- Application database
php/artipera (1).sql
Connections 24
- Customer → Sign up and login: registers or signs in
- Sign up and login → OTP page: continues verification
- OTP page → OTP API: submits OTP
- OTP API → OTP verification: dispatches verification
- OTP verification → Application database: creates user
- Customer → Worker search: searches workers
- Worker search → Worker lookup: requests worker data
- Worker lookup → Application database: reads workers and ratings
- Administrator → Worker administration: reviews workers
- Worker administration → Worker lookup: loads worker list
- Worker administration → Application database: reads worker records
- Customer → Worker details: views worker
- Customer → Saved workers: manages saved workers
- Customer → Customer bookings: views bookings
- Worker → Worker dashboard: views dashboard
- Worker → Schedule and services: manages schedule and services
- Schedule and services → Application database: reads and updates schedule data
- Worker → Manage bookings: manages booking
- Manage bookings → Application database: reads and updates bookings
- Manage bookings → Email and OTP: requests completion OTP
- Email and OTP → SMTP mail service: sends email
- Administrator → Admin dashboard: opens dashboard
- Administrator → Customer administration: manages customers
- Document endpoint → Worker documents