Skip to content

ayush-rr7/LodgeEasy

Repository files navigation

LodgeEasy

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.


Features

  • 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

Tech Stack

  • Frontend: HTML, CSS, Tailwind CSS, EJS Templates, JavaScript
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: Session & Bcrypt
  • Email Verification: Nodemailer + Temporary token system

Installation

  1. Clone the repository:
git clone https://github.com/ayush_rr7/LodgeEasy.git
  1. Install dependencies:
cd LodgeEasy
npm install
  1. Create a .env file and add your configuration:
PORT=3006
MONGO_URI=<your_mongo_connection_string>
EMAIL_USER=<your_email>
EMAIL_PASS=<your_email_password>
  1. Run the project:
npm start
  1. Open your browser and navigate to:
http://localhost:3006

Folder Structure

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

Usage

  • 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.

Contributing

  1. Fork the repository
  2. Create your branch: git checkout -b feature/your-feature
  3. Commit your changes: git commit -m "Add your message"
  4. Push to the branch: git push origin feature/your-feature
  5. Open a Pull Request

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors