How Hostela runs your hostel
A clear view of the core flows, the rules engine that keeps state consistent, and the data model behind every screen.
Core operational flow
STEP 1
Discover
Guest searches rooms by type, dates & capacity.
STEP 2
Book
Reservation created, availability locked, payment pending.
STEP 3
Check-in
Reception verifies guest, room set to occupied.
STEP 4
Turnover
On check-out, a housekeeping task is auto-queued.
STEP 5
Analyze
Revenue & occupancy roll up into admin analytics.
Rules engine
Deterministic when → then rules keep rooms, bookings and tasks in sync automatically.
When
Booking confirmed
Then
Room availability decremented + payment marked pending
When
Guest checks in
Then
Room status → occupied, payment → paid
When
Guest checks out
Then
Room status → cleaning, housekeeping task created
When
Cleaning task done
Then
Room status → available, ready to rebook
When
Booking cancelled
Then
Availability released, payment → refunded
Data model
number, type, floor, capacity, price, status
guest, room, dates, amount, status, payment
name, contact, country, stays, status
room, type, priority, assignee, status
name, role, shift, status
booking, amount, state
Access control matrix
| Module | Guest | Reception | Housekeeping | Admin |
|---|---|---|---|---|
| Browse & book rooms | ✓ | — | — | — |
| Manage bookings | Own | All | — | All |
| Guest directory | — | ✓ | — | ✓ |
| Housekeeping tasks | — | — | ✓ | ✓ |
| Staff management | — | — | — | ✓ |
| Analytics | — | — | — | ✓ |