Skip to content

kampaitees/Travelling-Mamas

Repository files navigation

Travelling Mamas, a Destination Booking Website

Abstract and Report for the project

This project is website which can be used to choose various destinations for visiting in India, can book hotels as well as book flights.

Demo

Visting varoius Destinations

You can click on the destination option on the Nav bar and can visit various destination

On clicking any destination it will lead to page where you can know about the famous places in that particular city of that state to visit if you plan to visit the city and don't know anything about it.

Finding hotels after choosing a destination

After finding a hotels you will be lead to a page where you are allowed to choose the type of room you want

Finally you can book your hotel with your details

Searching flights for a destination

Searching One Way flight

Searching Two Way flight

This will lead to a page where you can see the price of different available flight and can click on book option

Clicking Book option will lead to a form page where you have to enter your details and finally submit the form for flight booking, you can also clear the form by clicking on the 'Clear form' option

Registering on the website

Login in the website

After you login in the website your name will be displayed

If you forgot the password then, I had also included the functionality of password changing

After clicking on the password changing option you will recieve the following mail on your email where you will get a link clicking on which will lead to a page where you can change your password

On clicking the link you can enter your new password and login to your account

My Profile page

My Flight Booking page

My Hotel Booking page

You can contact me if you have any problem regarding the website or any other problem

If you want to see the blogs about our recent customers you can read them to enjoy ther story too

Here you can see the serivces provided by the website

Demo Video

πŸ‘‰ Watch it here

Motivation

This website I had created as a part of project of course CO303. The task was to create a website using any framework but backend should be using MySql. So I decided to use Django as framework and MySql for backend purpose as I was familiar with Python already.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Following are the dependencies of python which you have to install in your system

 - python 3.6.8 
 - python pip 

After installing python and pip you have to just write

β€œpip install 'below library names'”

To install below dependencies

 - Django==2.2.2 
 - dj-database-url==0.5.0
 - django-bootstrap3==11.0.0
 - django-cleanup==3.2.0
 - djangorestframework==3.9.4 
 - mysql-connector-python==8.0.17
 - mysqlclient==1.4.2.post1
 - Pillow==6.0.0 
 - psycopg2==2.8.3 
 - requests==2.22.0 
 - urllib3==1.25.3 

For the following below dependencies you have download them separately

  - Microsoft Visual Studio code(For running the code you can use your own editor if you want)
  - MySql(For storing the information about the customer in the database)

Deployment

I tried to deploy the website on Heroku platform but I'm getting errors while installing it so I'm not able to deploy the website till date.

Built With

Folder structure

.
└── dbms
    β”œβ”€β”€ __pycache__
    β”œβ”€β”€ dbms
    β”‚   β”œβ”€β”€ __pycache__
    β”‚   └── __init__.py
    |   └── settings.py
    |   └── urls.py
    |   └──wsgi.py
    β”œβ”€β”€ TravellingMamas
    β”‚   β”œβ”€β”€ __pycache__
    β”‚   └── migrations
    |       β”œβ”€β”€ __pycache__
    |       └── ...
    β”‚   └── _init__.py
    β”‚   └── admin.py
    β”‚   └── apps.py
    β”‚   └── forms.py
    β”‚   └── models.py
    β”‚   └── tests.py
    β”‚   └── urls.py
    β”‚   └── views.py
    |
    β”œβ”€β”€ media
    β”‚   β”œβ”€β”€ alleppey.jpg
    |   └── ...
    |   └── ... 
    β”‚   └── ...
    β”‚   └── ...
    β”‚   └── tour2.jpg
    |
    β”œβ”€β”€ static
    β”‚   β”œβ”€β”€ css
    β”‚   └── fonts
    β”‚   └── img
    β”‚   └── js
    β”‚   └── scss
    |
    β”œβ”€β”€ templates
    β”‚	β”œβ”€β”€ about.html
    | └── blog-home.html
    | └── ...
    | └── ... 
    β”‚ └── contact.html
    β”‚ └── ...
    β”‚ └── home.html
    β”‚ └── darjeeling.html
    β”‚ └── ...
    β”‚ └── edit_profile.html
    β”‚ └── ...
    β”‚ └── ...
    β”‚ └── ...
    β”‚ └── tour-place.html
    β”‚ └── ...
    β”‚ └── ...
    β”‚ └── user.html
    |
    └── manage.py

Run

After downloading all the dependencies you have to open the folder in VS code and run the following commands on the terminal:-

For doing migrations

 $ python manage.py makemigrations
 $ python manage.py sqlmigrate pages 0001
 $ python manage.py migrate
For running local server
 $ python manage.py runserver

Author

License

Apache Β© Rishi Sharma

About

This is website which can be used to choose places for visiting, book hotels, book flights and other facility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published