CasaStay

Book unique stays. Host properties. Experience backend-authoritative payments.

GET STARTED

About CasaStay

Backend-Authoritative Payments

Razorpay integration with HMAC signature validation and webhook-based confirmation.

Automated Refund Processing

Refund lifecycle securely verified through backend webhook events.

Database-Controlled OTP Engine

Hashed OTP storage, expiry enforcement and DB-driven attempt tracking.

Secure Authentication & Sessions

Passport.js authentication with MongoDB-backed sessions and protected routes.

State-Driven Booking Lifecycle

Structured booking enums ensuring transactional integrity.

Host & Manage Listings

Create, update and control properties with ownership-based authorization.

Geocoding & Interactive Maps

Latitude/longitude storage with dynamic Leaflet map integration.

Modular Email Infrastructure

Styled EJS templates for OTPs, confirmations, cancellations and refunds.

Production Deployment

MongoDB Atlas, Cloudinary and Render deployment with secure configuration.