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. πβ¨
Check it out here: https://lodgify-e4uq.onrender.com
β
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.
- HTML5
- CSS3
- JavaScript
- Bootstrap
- Node.js
- Express.js
- RESTful API
- AJAX
- Passport.js (for authentication)
- Cookie-based session storage
- MongoDB
- MVC Framework
- Leaflet API (for maps)
- JSON Web Tokens (JWT) for API authentication
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
-
Clone the repository:
git clone https://github.com/deepaksoni47/Lodgify.git cd Lodgify -
Install dependencies:
npm install
-
Start the development server:
node app.js
We welcome contributions! If you have suggestions or improvements, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature). - Make your changes and commit them (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/YourFeature). - Open a pull request.
- Ensure your code adheres to the project's coding standards and passes all tests.
- Add relevant documentation for any new features or changes.
- If applicable, add tests for your changes.
Lodgify is licensed under the MIT License.
π GitHub: deepaksoni47
π Email: deepaksoni23022004@gmail.com
π If you like this project, donβt forget to give it a star! β
