Stylion is a modern, full-stack hotel booking application built with the MERN (MongoDB, Express.js, React, Node.js) stack. It offers an intuitive user interface, robust backend architecture, and seamless user experience for discovering, booking, and managing hotel accommodations.
Layer | Technology |
---|---|
Frontend | React.js, TailwindCSS |
Backend | Node.js, Express.js |
Database | MongoDB (Mongoose ODM) |
Auth | JWT Auth, Google OAuth 2.0 |
- Email/password login using JWT
- Google OAuth 2.0 integration
- Secure, protected routes for bookings and profile
- Role-based access control (user/admin)
- Real-time search by city, price range, availability, ratings
- Efficient MongoDB indexing for fast queries
- View and manage personal profile
- Check current and past bookings
- Easy rebooking and cancellation
- Backend integration ready for Stripe and Razorpay
- Payment status tracking in the booking schema
- Secure and auditable transaction support
- Modular MVC structure
- RESTful APIs with proper error handling
- Easily extendable with admin dashboard, notifications, etc.
- Node.js v22+
- Docker (optional but recommended)
- MongoDB Atlas or local MongoDB instance
git clone https://github.com/your-username/stylion-booking-platform.git
cd stylion-booking-platform