Sleep Inn is an online hotel reservation system which provides users with a fast, easy, and interactive platform to search for hotels, browse room options, and make bookings based on location and availability. The system is built using full-stack web technologies and demonstrates the practical application of user authentication, MongoDB-based data handling, and responsive UI design.
- Register with username, email, and password
- Login using credentials or Google OAuth
- Session-based access to booking features
- Search hotels based on destination, dates, and guest count
- View hotel info, available room types, and pricing
- Reserve selected rooms and confirm bookings
- Users can subscribe with name/email to receive promotions and updates via email
- Web-based UI
- Structured navigation through dedicated pages (Home, Login, Sign Up, About)
- Static hotel listing with search-based filtering
The system follows a modular architecture separating the frontend and backend, with API connecting them. MongoDB is used to store user and hotel data. Authentication tokens (JWT) are used to secure protected routes and booking operations.
- React.js (UI rendering, component structure)
- CSS3 (custom theming, modular styles)
- JavaScript (JSX, state handling)
- Node.js
- Express.js
- MongoDB (via Mongoose)
- JSON Web Token (JWT)
- Visual Studio Code
- Insomnia (API testing)
- MongoDB