1.9 KiB
1.9 KiB
Cresta 31 lodge booking website
Built on the supplied Laravel 13 / Livewire starter project. Includes the 11 supplied lodge images, public gallery, date search, pricing, guest request form, conflict checking, booking references and a restricted admin booking list.
Installation
- Configure PHP 8.3+ and Composer, Node.js, and a MySQL or PostgreSQL database.
- Run
composer install(the original project depends on a private MPBA Git repository; access is required). - Copy
.env.exampleto.env; setAPP_URL,APP_KEY(withphp artisan key:generate) andDB_*values. - Set
LODGE_NIGHTLY_RATE_PENCE=17500,LODGE_MAX_GUESTS=6, andLODGE_ADMIN_EMAIL=your-admin-email@example.comin.env. - Run
php artisan migrate,npm ci,npm run build. - Create a Laravel user with the same email as
LODGE_ADMIN_EMAILvia your normal registration process, then sign in and visit/admin/bookings. - Serve Laravel's
public/directory with your web server.
Important before taking real bookings
- The £175 nightly rate and 6-guest capacity are placeholders. Set actual rates and capacity.
- This build accepts booking requests and blocks overlapping pending/confirmed stays; owners confirm them manually. It does not process payments, send booking emails, or integrate an external calendar. Do not advertise online payment or automatic confirmation.
- Booking status pages are accessible to anyone with the long random reference; avoid sharing references publicly.
- For production, configure backups, mail notifications, cancellation policy, terms, privacy information, accurate property description, and availability blocks for owner stays.
- Review photographs and add verified property details (address, facilities, check-in/out times, policies).
- The starter archive included an
.envfile, which was intentionally excluded to avoid distributing secrets.