LodgeEasy is a web application designed to help students, travelers, and working professionals find affordable and verified accommodation such as PGs, hostels, and rental rooms. The platform provides a simple, smooth, and reliable way to browse, book, and manage lodging options.
- Browse and search for available accommodations
- View details, pricing, and availability
- User registration and email verification
- Secure login and authentication
- Terms of Service & Privacy Policy pages
- Responsive UI with Tailwind CSS
- Sticky footer and consistent layout across pages
- Frontend: HTML, CSS, Tailwind CSS, EJS Templates, JavaScript
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: Session & Bcrypt
- Email Verification: Nodemailer + Temporary token system
- Clone the repository:
git clone https://github.com/ayush_rr7/LodgeEasy.git- Install dependencies:
cd LodgeEasy
npm install- Create a
.envfile and add your configuration:
PORT=3006
MONGO_URI=<your_mongo_connection_string>
EMAIL_USER=<your_email>
EMAIL_PASS=<your_email_password>
- Run the project:
npm start- Open your browser and navigate to:
http://localhost:3006
LodgeEasy/
├─ controllers/ # Handles backend logic
├─ models/ # MongoDB schemas
├─ routes/ # Express routes
├─ middleware/
├─ config/
├─ views/ # EJS templates
│ ├─ partials/ # Header, Footer, Logo partials
│ ├─ auth/ # Dynamic footer pages
| ├─ host/
| ├─ store/
| ├─ home
├─ public/ # CSS, JS, images
├─ app.js / server.js # Main server file
└─ package.json
- Click on footer links (About, Contact, Terms, Privacy) to see static pages.
- Register with your email; verify it via the email link.
- Browse available accommodations once logged in.
- Fork the repository
- Create your branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m "Add your message" - Push to the branch:
git push origin feature/your-feature - Open a Pull Request