Skip to content

Ashra Adventures – Travel Agency Website 🌍 Ashra Adventures is a travel agency website offering exciting tour packages across Pakistan. Built with React & Vite for a fast and interactive frontend and PHP for backend operations, it provides a seamless booking experience with secure transactions.

Notifications You must be signed in to change notification settings

Shehrozkashif/Ashra-Adventures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ashra Adventures Travel Agency Website

Overview

Ashra Adventures is a travel agency website offering tours to various destinations within Pakistan. Built using React and Vite for the frontend, along with HTML, CSS, and JavaScript for additional functionalities. The backend is implemented in PHP to handle server-side operations and data management.

Features

  • Responsive design for seamless experiences across devices.
  • Interactive tour booking and management system.
  • Detailed information about destinations and tour packages.
  • Admin dashboard for managing tours, bookings, and users.
  • Integration with payment gateways for secure transactions.
  • Fast Development & Deployment with Vite.
  • Real-time updates with Hot Module Replacement (HMR) using React.

Technology Stack

Frontend

  • React: For building the user interface.
  • Vite: Fast development environment with optimized build.
  • CSS: Styling and layout management.
  • JavaScript: Client-side logic and interactivity.

Backend

  • PHP: For server-side operations, data processing, and database management.

Tools & Plugins

Setup

Prerequisites

  • Node.js (version 14.x or higher)
  • PHP (version 7.x or higher)

Installation

  1. Clone the repository:

    git clone https://github.com/your-repo/ashra-adventures.git
    cd ashra-adventures
  2. Install dependencies:

    npm install
  3. Set up the backend (PHP):

    • Configure your PHP environment for server-side operations.
    • Ensure the necessary PHP extensions are installed (e.g., MySQL, cURL).
  4. Start the development server:

    npm run dev
  5. Visit http://localhost:3000 to view the website locally.

Building for Production

To create a production build:

npm run build

Development

  • Hot Module Replacement (HMR): For real-time updates during development, use:
    npm run dev

Directory Structure

ashra-adventures/
β”‚
β”œβ”€β”€ docs/                # Documents
β”‚
β”œβ”€β”€ src/                 # Source files
β”‚   β”œβ”€β”€ assets/          
β”‚   β”œβ”€β”€ components/      # Route-based pages
β”‚   β”œβ”€β”€ index.css/       # Main css file   
β”‚   β”œβ”€β”€ main.jsx/        # Main
β”‚   └── App.jsx          # Main React App component
β”‚
β”œβ”€β”€ html/                # HTML Files
β”œβ”€β”€ php/                 # PHP Files
β”œβ”€β”€ images/              # Images
β”‚
β”œβ”€β”€ index.html/          # Main Starting Point
β”‚
└── package.json         # Project dependencies

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/new-feature).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature/new-feature).
  5. Open a pull request.

About

Ashra Adventures – Travel Agency Website 🌍 Ashra Adventures is a travel agency website offering exciting tour packages across Pakistan. Built with React & Vite for a fast and interactive frontend and PHP for backend operations, it provides a seamless booking experience with secure transactions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •