Skip to content

Latest commit

Β 

History

History
118 lines (86 loc) Β· 3.76 KB

File metadata and controls

118 lines (86 loc) Β· 3.76 KB

🏑 Lodgify - Travel & Listings Platform

Lodgify Banner

Discover, List, and Explore! Lodgify is a travel and listings website where users can view property details, add their own listings, and leave reviews. Built with an intuitive UI and a robust backend, Lodgify ensures a seamless experience for travelers and property owners alike. 🌍✨

🌐 Live Project

Check it out here: https://lodgify-e4uq.onrender.com

πŸš€ Key Features

βœ… Full CRUD Operations: Create, Read, Update, and Delete listings effortlessly.
βœ… Interactive Maps: Each listing includes a Leaflet API powered map.
βœ… User Reviews: Share experiences and feedback on listings.
βœ… REST API & AJAX: Optimized performance with smooth interactions.
βœ… Passport Authentication: User login handled securely using Passport.js.
βœ… Session Management with Cookies: Maintains user sessions using cookies.
βœ… MVC Architecture: Well-structured and scalable codebase.
βœ… Mobile-Responsive Design: Powered by Bootstrap for a great experience on all devices.

🎨 Tech Stack

πŸ–₯️ Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap

βš™οΈ Backend

  • Node.js
  • Express.js
  • RESTful API
  • AJAX
  • Passport.js (for authentication)
  • Cookie-based session storage

πŸ—„οΈ Database

  • MongoDB

πŸ› οΈ Other Technologies

  • MVC Framework
  • Leaflet API (for maps)
  • JSON Web Tokens (JWT) for API authentication

πŸ“ Project Structure

The project follows the MVC pattern with organized folders for scalability:

Lodgify/
β”œβ”€β”€ .vscode/           # VS Code specific settings
β”œβ”€β”€ controllers/       # Controller logic for routing
β”œβ”€β”€ init/              # Initialization scripts/configs
β”œβ”€β”€ models/            # Mongoose models (schemas)
β”œβ”€β”€ public/            # Static assets (images, CSS, JS)
β”œβ”€β”€ routes/            # Express route definitions
β”œβ”€β”€ utils/             # Utility/helper functions
β”œβ”€β”€ views/             # EJS or other view templates
β”œβ”€β”€ .gitignore         # Git ignored files list
β”œβ”€β”€ LICENSE            # MIT License file
β”œβ”€β”€ README.md          # Project documentation
β”œβ”€β”€ app.js             # Entry point of the app
β”œβ”€β”€ cloudconfig.js     # Cloud service configurations
β”œβ”€β”€ middleware.js      # Custom middleware functions
β”œβ”€β”€ package-lock.json  # Exact dependency tree
β”œβ”€β”€ package.json       # Project metadata and scripts
β”œβ”€β”€ schema.js          # Additional schema definitions

πŸš€ Getting Started

  1. Clone the repository:

    git clone https://github.com/deepaksoni47/Lodgify.git
    cd Lodgify
  2. Install dependencies:

    npm install
  3. Start the development server:

    node app.js

🀝 Contributing

We welcome contributions! If you have suggestions or improvements, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.
  6. Ensure your code adheres to the project's coding standards and passes all tests.
  7. Add relevant documentation for any new features or changes.
  8. If applicable, add tests for your changes.

πŸ“œ License

Lodgify is licensed under the MIT License.

πŸ“¬ Contact

πŸ“Œ GitHub: deepaksoni47
πŸ“Œ Email: deepaksoni23022004@gmail.com


🌟 If you like this project, don’t forget to give it a star! ⭐