Skip to content

A production-ready Airbnb-like platform built with Spring Boot, PostgreSQL, JWT Security, and Stripe Payments.

Notifications You must be signed in to change notification settings

akshat-fsociety/Airbnb-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏡 Airbnb Clone

A production-ready Airbnb-like platform built with Spring Boot, PostgreSQL, JWT Security, and Stripe Payments.
Designed with scalability, concurrency safety, ACID compliance, and clean architecture in mind.


✨ Features

  • 🔐 Authentication & Security – JWT-based authentication with role-based access (USER, GUEST, HOTEL_MANAGER)
  • 🏨 Hotel & Room Management – Manage inventory, availability & surge pricing (Used Decorator pattern for the Pricing)
  • 📅 Booking System – Safe booking flow with pessimistic locking + @Transactional to ensure atomicity & prevent race conditions
  • 💳 Stripe Integration – Secure checkout & webhook handling for payment confirmations
  • Scheduled Cron Jobs – Every 1 hour, cron jobs update room prices & apply surge factors dynamically
  • 🛡 ACID Properties – Transactions guarantee consistency, isolation, and durability across concurrent bookings
  • 👨‍💻 SOLID Principles – Codebase structured for maintainability and scalability
  • 📑 API Documentation – Swagger UI available at /api/v1/swagger-ui/index.html
  • Scalable Architecture – Layered design (Controller → Service → Repository) with DTO mapping

🛠 Tech Stack

Java
Spring Boot
Spring Security
PostgreSQL
Hibernate
Stripe
Swagger
Maven


🏗️ System Design

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot


🟢Swagger OpenAPI definition

http://localhost:8080/api/v1/swagger-ui/index.html#/

About

A production-ready Airbnb-like platform built with Spring Boot, PostgreSQL, JWT Security, and Stripe Payments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages