Skip to content

himanshu-joshi01/Atithi-Devo-Bhava

Repository files navigation

Atithi Devo Bhava

================

Travel Listing and Review Platform

Overview

Atithi Devo Bhava is a cutting-edge web-based platform designed to facilitate the discovery and review of travel listings. Our application provides a seamless user experience, allowing travelers to explore and share their experiences with others. With a focus on simplicity, scalability, and security, Atithi Devo Bhava is the perfect solution for travel enthusiasts and industry professionals alike.

Getting Started

System Requirements

  • Node.js (version 14 or later)
  • MongoDB Atlas account for database storage
  • A modern web browser (Google Chrome, Mozilla Firefox, etc.)

Installation and Configuration

  1. Clone the repository: git clone https://github.com/himanshu-joshi01/Atithi-Devo-Bhava.git
  2. Install dependencies: npm install
  3. Create a .env file with the following variables:
    • ATLASDB_URL: your MongoDB Atlas database URL
    • SECRET: a secret key for session storage
    • PORT: the port number for the application (default: 3000)

Running the Application

node app.js

Features and Functionality

User Management

  • Secure user authentication and authorization using JSON Web Tokens (JWT)
  • Personalized user profiles with listing and review history
  • User profile editing and management

Listing Management

  • Create, edit, and delete listings with ease
  • Leave reviews and ratings for listings
  • Listing categorization and filtering

Notification System

  • Flash messages for success and error notifications
  • Real-time updates for new listings and reviews

Error Handling

  • Custom error pages for improved user experience
  • Error logging and debugging tools

API Endpoints

  • /: Home page with listing feed
  • /listings: Listing index page
  • /listings/:id: Individual listing page
  • /listings/:id/reviews: Review index page for a listing
  • /users: User profile page
  • /feeds: Feed page with latest listings and reviews

Technical Stack

  • Frontend: EJS template engine with EJS-Mate, Bootstrap 4, and jQuery
  • Backend: Node.js with Express.js framework, MongoDB with Mongoose ORM, and more
  • Database: MongoDB Atlas for scalable and secure data storage

Security

  • Secure user authentication and authorization using JWT
  • Data encryption using SSL/TLS
  • Regular security updates and patches

Contributing

We welcome contributions to Atithi Devo Bhava! Fork the repository, make your changes, and submit a pull request. Please ensure that your changes align with our coding standards and best practices.

Licensing

Atithi Devo Bhava is licensed under the MIT License. See LICENSE for details.

Authors

[Himanshu Joshi]

Acknowledgments

We would like to acknowledge the following dependencies and libraries used in this project:

  • @mapbox/mapbox-sdk
  • cloudinary
  • connect-flash
  • connect-mongo
  • joi
  • mongoose
  • multer
  • multer-storage-cloudinary
  • passport
  • passport-local
  • passport-local-mongoose

Roadmap

  • Implementing social media integration for user authentication
  • Adding support for multiple languages and currencies
  • Enhancing the user interface and user experience

About

The concept of "Atithi Devo Bhava" on the Couchsurfing website is not directly related to the platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published