An Android hotel marketplace backed by a PHP/MySQL API. VBook separates customer booking workflows from vendor inventory management in a single full-stack repository.
- Create an account and sign in.
- Browse registered hotels and available rooms.
- Reserve rooms and review reservations.
- Create a vendor account and sign in.
- Register hotels and room inventory.
- Review listed properties and reservation activity.
api/ PHP endpoints for authentication, hotels, rooms, and reservations
mobile/ Complete Gradle Android project
docs/ Architecture and maintenance notes
extras/ Application and database screenshots
See Architecture for the client/API responsibilities and data flow.
- Install PHP, MySQL, and a local web server.
- Create a MySQL database named
hotel_reservation_applicationusing the table structures shown inextras. - Serve the files in
apifrom your web server. - Open
mobilein Android Studio. - Set the development server address in
mobile/app/src/main/java/com/sameetasadullah/i180479_i180531/dataLayer/writerAndReader.java. - Sync Gradle and run the application on an emulator or Android device.
The checked-in server address documents the original development environment. A deployed version should use build-time configuration and HTTPS.
| Entry | Customer workflow | Vendor workflow |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
This repository preserves the original Android and PHP implementation. Production deployment would require authenticated API sessions, prepared SQL statements, password hashing, HTTPS, environment-based configuration, and dependency upgrades.
Licensed under the MIT License.





