Hostel Management System is a modern web application designed to streamline the management of hostels, categories, comments, and user moderation for educational institutions or organizations. This platform provides robust admin tools, user access control, and a clean, accessible UI for efficient hostel administration.
- 🏠 Hostel Management – Add, edit, and manage hostel details including name, address, and price.
- 🖼️ Image Management & Slider – Upload multiple hostel images, displayed in a Swiper slider. Click any image to view it fullscreen in a high-quality modal/lightbox (powered by Cloudinary).
- 🗂️ Category Management – Create and organize hostel categories for better filtering and search.
- 📝 Comment Moderation – Admins can view, edit, report, and block user comments for a safe environment.
- 🚫 User Blocking & Reporting – Block users or report inappropriate comments, with in-app notifications.
- 🔒 Access Control – Secure admin and superadmin roles with persistent authentication.
- 💡 Modern UI – Single-card-per-row layout, responsive Swiper image slider, and accessible fullscreen image viewing.
- Hostel images are uploaded to and served from Cloudinary, with high-quality transformations (
q_auto:best). - All images are shown in a Swiper slider; click any image to view it fullscreen in a modal/lightbox.
- You can customize Cloudinary transformations (quality, size, cropping) by editing the image URL or backend logic.
- Frontend: Next.js, React, TypeScript, Tailwind CSS, Shadcn UI
- Backend: Next.js API Routes, Firebase Firestore
- Image Storage: Cloudinary (no Firebase Storage)
- Authentication: Firebase Auth
This project was designed and developed solely by Sooraj Krishna K P.
Absolutely! You can easily reuse and customize this project for your own hostel or organization:
- Fork this repository
- Clone your fork locally
- Update Branding
- Edit Hostel Data
- Deploy
- Fork the repository.
- Clone it:
git clone https://github.com/Sooraj-krishna/Nearby_hostels.git - Create a new branch:
git checkout -b feature-name - Make your changes and commit:
git commit -m 'Your Message' - Push changes:
git push origin feature-name - Open a Pull Request.
For any queries, feel free to reach out:
- 📧 Email: [soorajkrishnakp2002@gmail.com]
✨ Empowering hostel management with modern web technology!