Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🌍 Tour Guide and Hotel Booking System

A comprehensive platform for booking tours and hotels with secure authentication.

📋 Overview

This application provides an integrated solution for travelers to discover, plan, and book tours and accommodations. The system features a responsive frontend client connected to a secure backend with robust authentication.

✨ Features

  • Tour Discovery & Booking: Browse and book guided tours at various destinations
  • Hotel Reservations: Search and book accommodations based on location and preferences
  • Duo Authentication: Enhanced security with two-factor authentication
  • User Profiles: Personalized accounts to track bookings and preferences
  • Payment Integration: Secure payment processing for bookings
  • Review System: User reviews and ratings for tours and hotels

🛠️ Tech Stack

Frontend

  • React.js
  • Redux for state management
  • Responsive design with CSS/SASS
  • Axios for API communication

Backend

  • Node.js with Express
  • MongoDB database
  • JWT and Duo Security authentication
  • Payment gateway integration

🚀 Getting Started

Prerequisites

  • Node.js (v14 or later)
  • MongoDB
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/muskandhingra7/tour-hotel-booking.git
cd tour-hotel-booking
  1. Set up the backend
cd backend
npm install
# Configure environment variables
cp .env.example .env
# Start the server
npm run dev
  1. Set up the frontend
cd frontend
npm install
# Configure environment variables
cp .env.example .env
# Start the development server
npm start

📁 Project Structure

├── backend/                  # Server-side code
│   ├── controllers/          # Request handlers
│   ├── models/               # Database schemas
│   ├── routes/               # API endpoints
│   ├── middleware/           # Auth middleware
│   └── server.js             # Main server file
│
├── frontend/                 # Client-side code
│   ├── public/               # Static assets
│   └── src/
│       ├── components/       # Reusable UI components
│       ├── pages/            # Application pages
│       ├── redux/            # State management
│       ├── services/         # API communication
│       └── App.js            # Main component
│
└── Downloads/complete/       # Additional resources

🔒 Authentication

The system implements a secure authentication flow using:

  • JWT (JSON Web Tokens) for session management
  • Duo Security for two-factor authentication
  • Secure password hashing
  • Role-based access control

🔮 Future Enhancements

  • Mobile application development
  • AI-powered tour recommendations
  • Virtual tour experiences
  • Advanced booking management system
  • Multi-language support

👥 Contributors

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages