Skip to content

Dilan032/Travel-Package-Booking-Web-Application

Repository files navigation

Travel Package Booking Web Application

With Laravel

The user can

  • View details about ( travel agency ) ( Blog Post ) ( Travel Packages )
  • Book Travel package ( entering relavet Information )
  • View Current status about Booking

payment -> ( pendin ) ( Conform ) ( Reject )
booking -> ( pendin ) ( Conform ) ( Reject )


  • View the invoice and pay for the relevant booking
  • contact travel agency using Contact Form ( any one can contact travel agency without login )



The Admin can

  • View all summary of the web application

    Users -> ( Active Users ) ( Not active Users )
    Resavation -> ( All Resavation ) ( Conform Resavation ) ( Reject Resavation ) ( To Check Payment )
    Blog Post -> All Blog Post
    Travel Packages -> ( All Travel Packges) ( Adventure Tour ) ( Beach Holiday Tour ) ( Cultural Tour ) ( Business Trip Tour )

  • Manage Users

    Show User Details -> ( Number Of Reservations ) ( Date of Joining ) etc.
    Contact or Remove User Account

  • User's Massages

    ( View ) ( Delete ) ( Show Massage Send Date and Time ) ( Send Email To User )

  • CRUD Operations For Trvel Package

    ( create ) ( Delete ) ( View ) ( Update )

  • CRUD Operations For Blog Post

    ( create ) ( Delete ) ( View ) ( Update )



How Use This Web Application In Another Computer

Install Dependencies:

For PHP dependencies composer install

For Node.js dependencies npm install


Copy the .env.example File:

Copy the .env.example file to create a new .env file.


Generate the Application Key:

php artisan key:generate


Configure the Environment:

Open the .env file and configure your database

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=travel_agency_db
DB_USERNAME=root
DB_PASSWORD=

APP_NAME=SriLankaTours


Run Database Migrations:

Warning

Run Database Migrations is not recomandaed for this php artisan migrate


Note

Becouse if your are Run Database Migrations website has not any data. > ( Blogs, Travel Packages)
#But you can Add this data using admin panel

Tip

Recomanded

In this files has " Database SQL " folder and this folder has database file(sql) Name " travel_agency_db " use this sql file for database



Deploy Web Application

Run the Vite Development Server:

npm run dev


Start Laravel Development Server:

php artisan serve


Access Your Application:

Open your browser and navigate to http://127.0.0.1:8000 to verify that your application is working correctly.



For Login

Note

If You are use Database SQL folder's database file (sql), Then you can use this login details.
Or register as a new user.

Admin

User