Skip to content

ujjwalgaekwad/Staylio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 

Repository files navigation

Stylion — Booking Platform

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.


Tech Stack

Layer Technology
Frontend React.js, TailwindCSS
Backend Node.js, Express.js
Database MongoDB (Mongoose ODM)
Auth JWT Auth, Google OAuth 2.0

Features

Authentication & Authorization

  • Email/password login using JWT
  • Google OAuth 2.0 integration
  • Secure, protected routes for bookings and profile
  • Role-based access control (user/admin)

Hotel Search & Filters

  • Real-time search by city, price range, availability, ratings
  • Efficient MongoDB indexing for fast queries

User Dashboard

  • View and manage personal profile
  • Check current and past bookings
  • Easy rebooking and cancellation

Booking & Payment Infrastructure

  • Backend integration ready for Stripe and Razorpay
  • Payment status tracking in the booking schema
  • Secure and auditable transaction support

Scalable Backend Architecture

  • Modular MVC structure
  • RESTful APIs with proper error handling
  • Easily extendable with admin dashboard, notifications, etc.

Getting Started

Prerequisites

  • Node.js v22+
  • Docker (optional but recommended)
  • MongoDB Atlas or local MongoDB instance

1. Clone the Repository

git clone https://github.com/your-username/stylion-booking-platform.git
cd stylion-booking-platform