Professional Documents
Culture Documents
on
“Hostel PG LIFE”
Submitted for partial fulfillment for the award of the degree
Bachelor of Computer Application (BCA)
Department of Computer Application
Session 2021-24
Submitted to Submitted By
Dr. Manish Kumar AMIR HUSAIN
2111730580013
ACKNOWLEDGEMENT
At the very beginning I would like to the Founders & developers of INTERNSHALA and also all
employees of INTERNSHALA by whom active response I was able to complete my great summer
training.
I will be highly grateful to INTERNSHALA for rending his valuable guidance and help to know more
about working of a website, and how a web-application or a website works and developed
and also providing internal guidance for preparing this report.
I am also very thankful to INTERNSHALA for providing their immense help and support.
COLLEGE- CIMS,LUCKNOW
Declaration
This is certify that the work reported in the present project entitled “HOSTEL PG LIFE ” is a record of
work done by us in Bachelor of Computer Application, College of Innovative Management and
science, Lucknow.
The reports are based on the project work done entirely by us and not copied from any other sources.
AMIR HUSAIN
BCA 5th semester
2111730580013
Content
2. Introduction of Technology 2
3. Introduction of Project 3
12. Bibliography 32
Introduction to Organization
Internshala Website
Internshala is a popular Indian internship search platform. It offers internships across
various industries and fields, including engineering, management, media, design, and
more. The platform was launched in 2010 and has since helped thousands of
students and professionals find internships that match their interests and
qualifications.
Features of Internshala
Internships across various industries and fields
Virtual internships that can be done from anywhere
Courses and training programs to improve skills
Easy application process
Internship alerts through email and notifications
Role
Internshala is an excellent platform for students and professionals looking for
internships in India. It offers a wide range of internship opportunities, training
programs, and courses, making it easier for people to find the right internship and
improve their skills. Its user-friendly interface and easy application process make it a
popular choice among job seekers. Overall, if you're looking for an internship in India,
Internshala is definitely worth checking out.
Introduction to Technology
How website works:
Client request for
Role of HTML :-
Role of CSS :-
Role of JavaScript :-
Dynamic content: PHP is a more dynamic use of code. For example, when you enter
welcome/html you will always receive the response, ‘Welcome!’, however when you
request welcome.php, depending on the time of day, you may receive ‘Good Morning!’.
This indicates that PHP produces more dynamic coded content.
Easy to learn: PHP is considered one of the easiest, most common web development
languages, compared to another popular one like Java.
Open source and free: The components of the language are free, so all you have to do is
hire some Zen Cart web developers to have your projects completed cost-effectively.
Easy to deploy: Many hosting companies are willing to offer a server for companies that
run using PHP.
Reliable: The web language is rather efficient because it possesses a scalable code.
Fast processing: PHP uses its own memory space, automatically reducing the loading
time for the server. This allows a faster processing capacity which is incredibly beneficial
for websites with high traffic.
Secure: Known for its vast layers of security protection.
User-friendly: Not only is PHP easy to learn but it’s also easy to use with a high level of
simplicity at the root of its function.
Easy to integrate: There’s no need to re-code or re-develop because PHP is easy to
coordinate with all company software.
Role of React :-
React is an excellent framework for web development in 2023. It’s easy to learn, and it
offers a lot of benefits over other JavaScript libraries, including those that are more
popular. With the growing popularity of React, it’s not hard to understand why a lot of
people are choosing to use the React framework for their web development processes.
React offers an amazing ecosystem, tons of features and tools, and tremendous
community support, and also is SEO-friendly. However, more than knowing all these
benefits, you must know how they contribute to your web development process is
required.
The main reason why React is so popular is that it offers developers an easy way to
create applications with a lot of functionality at once. This means that your app doesn’t
need to be as complicated as other frameworks; instead, you can focus on building
features in your app rather than how to get those features up and running on the web.
This can help make your app easier for users to understand and use! There are multiple
platforms based on React to create web applications, mobile applications, and cross-
hybrid Platform for Desktops.
Introduction of Project
Hostel and Pg Web Development Project
The Hostel and Pg Web Development Project is a website development initiative that
aims at providing an online platform where people seeking accommodation can find
available hostels and PGs (paying guest accommodations) in their desired location.
The website also provides an opportunity for hostel and PG owners to promote their
services and facilities online.
Technology Stack
The Hostel and Pg Web Development Project uses a range of technologies to ensure
seamless user experience, security, and reliability. These include:
Idea
The Hostel and Pg Web Development Project is a significant initiative that solves the
problem faced by students, working professionals, and job-seekers in finding
affordable and reliable accommodation. With the use of top-notch technologies, the
website can provide a user-friendly interface, secure payment gateway, and robust
security features.
Home page using HTML and CSS
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Just Relax PG</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="https://use.fontawesome.com/releases/v5.11.2/css/all.css" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&a
mp;display=swap" rel="stylesheet">
<link href="css/common.css" rel="stylesheet"> <link href="css/home.css" rel="stylesheet">
</head>
<body>
<div class="header sticky-top">
<nav class="navbar navbar-expand-md navbar-light">
<a class="navbar-brand" href="index.php">
<imgsrc="img/logo.png">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#my-navbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="banner-container">
<h2 class="white pb-3"><b>Just Relax PG</b> - Your Second Home</h2>
<div class="page-container">
<h1 class="city-heading">
Major Cities
</h1>
<div class="row">
<div class="city-card-container col-md">
<a href="property_list.php?city=Delhi">
<div class="city-card rounded-circle">
<imgsrc="img/delhi.png" class="city-img">
</div>
</a>
</div>
<div class="modal-body">
<form id="signup-form" class="form" role="form" method="post" action="api/signup_submit.php">
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fas fa-user"></i>
</span>
</div>
<input type="text" class="form-control" name="full_name" placeholder="Full Name" maxlength="30" required="">
</div>
<div class="form-group">
<span>I'm a</span>
<input type="radio" class="ml-3" id="gender-male" name="gender" value="male"> Male
<label for="gender-male">
</label>
<input type="radio" class="ml-3" id="gender-female" name="gender" value="female">
<label for="gender-female">
Female
</label>
</div>
<div class="form-group">
<button type="submit" class="btn btn-block btn-primary">Create Account</button>
</div>
</form>
</div>
<div class="modal-footer">
<span>Already have an account?
<a href="#" data-dismiss="modal" data-toggle="modal" data-target="#login-modal">Login</a>
</span>
</div>
</div>
</div>
</div>
<div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="login-heading" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="login-heading">Login with <b>Just Relax PG</b></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">x</span>
</button>
</div>
<div class="modal-body">
<form id="login-form" class="form" role="form" method="post" action="api/login_submit.php">
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fas fa-user"></i>
</span>
</div>
<input type="email" class="form-control" name="email" placeholder="Email" required="">
</div>
<div class="form-group">
<button type="submit" class="btn btn-block btn-primary">Login</button>
</div>
</form>
</div>
<div class="modal-footer">
<span>
<a href="#" data-dismiss="modal" data-toggle="modal" data-target="#signup-modal">Click here</a>
to register a new account
</span>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="page-container footer-container">
<div class="footer-cities">
<div class="footer-city">
<a href="property_list.php?city=Delhi">PG in Delhi</a>
</div>
<div class="footer-city">
<a href="property_list.php?city=Mumbai">PG in Mumbai</a>
</div>
<div class="footer-city">
<a href="property_list.php?city=Bengaluru">PG in Bangalore</a>
</div>
<div class="footer-city">
<a href="property_list.php?city=Hyderabad">PG in Hyderabad</a>
</div>
</div>
<div class="footer-copyright">© 2023 Copyright <b>Just Relax PG</b><br> Made by
<a href="https://github.com/Ankit-saha-iiitbbsr" target="_blank"> ISHANT PANDEY<br></a>
<a href="index.html"> Home <br></a><a href="#"> Back to top </a></div>
</div>
</div>
.city-search
{ max-width:
530px;margin:
auto; position:
relative;
}
.city-heading {
text-align: center;
}
.city-card-
container { text-
align: center;
margin-top:
20px;
}
.city-card {
background-color: #ffffff;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0,
0.12); display: inline-block;padding:
20px;
}
.city-card:focus,
.city-card:hover {
box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.city-img
{ height:
100px;width:
100px;
}
ScreenShot of Home Page
Properties list page using HTML& CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Best PG's in Mumbai | Just Relax PG</title>
<body>
<div class="header sticky-top">
<nav class="navbar navbar-expand-md navbar-light">
<a class="navbar-brand" href="index.html">
<imgsrc="img/logo.png" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#my-navbar">
<span class="navbar-toggler-icon"></span>
</button>
<div id="loading">
</div>
<nav aria-label="breadcrumb">
<ol class="breadcrumb py-2">
<li class="breadcrumb-item">
<a href="index.html">Home</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
Mumbai
</li>
</ol>
</nav>
<div class="page-container">
<div class="filter-bar row justify-content-around">
<div class="col-auto" data-toggle="modal" data-target="#filter-modal">
<imgsrc="img/filter.png" alt="filter" />
<span>Filter</span>
</div>
<div class="col-auto">
<imgsrc="img/desc.png" alt="sort-desc" />
<span>Highest rent first</span>
</div>
<div class="col-auto">
<imgsrc="img/asc.png" alt="sort-asc" />
<span>Lowest rent first</span>
</div>
</div>
<div class="modal-body">
<form id="login-form" class="form" role="form">
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fas fa-user"></i>
</span>
</div>
<input type="email" class="form-control" name="email" placeholder="Email" required>
</div>
<div class="form-group">
<button type="submit" class="btnbtn-block btn-primary">Login</button>
</div>
</form>
</div>
<div class="modal-footer">
<span>
<a href="#" data-dismiss="modal" data-toggle="modal" data-target="#signup-modal">Click here</a>
to register a new account
</span>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="page-container footer-container">
<div class="footer-cities">
<div class="footer-city">
<a href="property_list.html">PG in Delhi</a>
</div>
<div class="footer-city">
<a href="property_list.html">PG in Mumbai</a>
</div>
<div class="footer-city">
<a href="property_list.html">PG in Bangalore</a>
</div>
<div class="footer-city">
<a href="property_list.html">PG in Hyderabad</a>
</div>
</div>
<div class="footer-copyright">© 2020 Copyright PG Life </div>
</div>
</div>
CSS :-
.filter-bar > div
{ cursor:
pointer; font-
size: 13px; text-
align: center;
margin-bottom: 16px;
}
.filter-bar img
{ width:
40px;
height:
40px;
border-radius: 40px;
border: 1px solid
#646870;padding: 6px;
margin-right: 8px;
}
.property-card
{ background-color:
#ffffff;border-radius:
2px; padding: 15px
0px; margin: 0px auto
20px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.property-card:focus,
.property-card:hover {
box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.image-container
{ text-align:
center;
}
.image-container img
{width: 100%;
max-width: 300px;
}
.star-container i
{ color:
#EA322E; font-
size: 10px;
margin-right:
6px;
}
.interested-
container {text-
align: center;
}
.interested-container
i {color: #EA322E;
font-size: 20px;
cursor: pointer;
}
.interested-text
{ font-size:
10px;
}
.detail-container
{ padding-bottom:
10px;
}
.property-name
{ font-size:
18px;
font-weight: 600;
}
.property-
address {color:
#6f6f6f; font-
size: 13px;
padding-bottom: 5px;
}
.property-gender img
{width: 40px;
}
.rent-container
{display: flex;
align-items: center;
}
.rent {
font-size: 18px;
font-weight:
bold;
padding-right: 10px;
}
.rent-unit
{ color:
#6f6f6f;
font-size: 12px;
}
.button-
container .btn
{font-size: 14px;
border-radius: 0px;
width: 140px; float:
right;
}
/* No Property */
.no-property-container
{ margin: 96px auto
144px;
}
.no-property-container
p {font-size: 24px;
text-align: center;
}
/* Filter Modal */
#filter-modal .modal-
dialog {max-width:
600px;
}
#filter-modal .modal-body
h5 {color: #777777;
}
#filter-modal .modal-body hr
{margin: 4px 0px;
}
#filter-modal .modal-body
button {font-size: 14px;
width: 100px;
margin: 16px;
}
#filter-modal .modal-body
button i {margin-right: 8px;
}
Login Page :-
Properties description page using HTML& CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ganpati Paying Guest | Ramu PG</title>
<body>
<div class="header sticky-top">
<nav class="navbar navbar-expand-md navbar-light">
<a class="navbar-brand" href="index.html">
<imgsrc="img/logo.png" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#my-navbar">
<span class="navbar-toggler-icon"></span>
</button>
<div id="loading">
</div>
<nav aria-label="breadcrumb">
<ol class="breadcrumb py-2">
<li class="breadcrumb-item">
<a href="index.html">Home</a>
</li>
<li class="breadcrumb-item">
<a href="property_list.html">Mumbai</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
Ganpati Paying Guest
</li>
</ol>
</nav>
<div class="col-md-auto">
<h5>Bedroom</h5>
<div class="amenity-container">
<imgsrc="img/amenities/bed.svg">
<span>Bed with Matress</span>
</div>
<div class="amenity-container">
<imgsrc="img/amenities/ac.svg">
<span>Air Conditioner</span>
</div>
</div>
<div class="col-md-auto">
<h5>Washroom</h5>
<div class="amenity-container">
<imgsrc="img/amenities/geyser.svg">
<span>Geyser</span>
</div>
</div>
</div>
</div>
</div>
<div class="property-rating">
<div class="page-container">
<h1>Property Rating</h1>
<div class="row align-items-center justify-content-between">
<div class="col-md-6">
<div class="rating-criteria row">
<div class="col-6">
<i class="rating-criteria-icon fas fa-broom"></i>
<span class="rating-criteria-text">Cleanliness</span>
</div>
<div class="rating-criteria-star-container col-6" title="4.3">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
<div class="col-md-4">
<div class="rating-circle">
<div class="total-rating">4.2</div>
<div class="rating-circle-star-container">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<span>
<a href="#" data-dismiss="modal" data-toggle="modal" data-target="#signup-modal">Click here</a>
to register a new account
</span>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="page-container footer-container">
<div class="footer-cities">
<div class="footer-city">
<a href="property_list.html">PG in Delhi</a>
</div>
<div class="footer-city">
<a href="property_list.html">PG in Mumbai</a>
</div>
<div class="footer-city">
<a href="property_list.html">PG in Bangalore</a>
</div>
<div class="footer-city">
<a href="property_list.html">PG in Hyderabad</a>
</div>
</div>
<div class="footer-copyright">© 2023 Copyright Ramu PG </div>
</div>
</div>
</html>
CSS :-
.carousel img
{ height: 300px;
object-fit:
cover;
}
.property-summary
{padding: 24px;
}
.property-amenities,
.property-rating
{ background-color:
#fcfaf7;
}
.star-container i
{ color:
#EA322E; font-
size: 12px;
margin-right:
6px;
}
.interested-
container { text-
align: center;
padding-right:
42px;
}
.interested-container
i {color: #EA322E;
font-size: 20px;
cursor: pointer;
}
.interested-text
{ font-size:
10px;
}
.detail-container
{ padding-bottom:
10px;
}
.property-name
{ font-size:
36px; font-
weight: 600;
}
.property-
address {color:
#6f6f6f; font-
size: 16px;
padding-bottom: 5px;
}
.property-gender img
{width: 40px;
}
.rent-container
{display: flex;
align-items: center;
}
.rent {
font-size: 24px;
font-weight:
bold;
padding-right: 10px;
}
@media (max-width: 768px) {
.rent {
font-size: 18px;
}
}
.rent-unit
{ color:
#6f6f6f;
font-size: 12px;
}
.button-
container .btn
{font-size: 14px;
border-radius: 0px;
width: 140px; float:
right;
}
.amenity-container
{margin: 8px 0px;
}
.amenity-container img
{height: 20px;
margin-top: -
4px; margin-
right: 4px;
}
.rating-criteria
{ margin: 28px 0px;}
.rating-criteria-icon
{width: 14px;
}
.rating-criteria-
text {margin-
left: 8px;
}
.rating-criteria-star-
container {margin-top: -
2px;
}
.rating-criteria-star-container i
{color: #66C2BD;
font-size: 12px;
}
.rating-circle {
background-color: #66C2BD;
color: white;
text-align: center;
height: 160px;
width: 160px;
border-radius:
50%;padding-top:
32px; margin:
auto;
}
.total-rating {
font-size: 40px;
}
.rating-circle-star-
container {font-size:12px;
}
.testimonial-block
{ background-color:
#fcfaf7;padding: 0px
160px 24px;margin-top:
80px;
}
24px;
}
}
.testimonial-image-
container {text-align:
center;
}
.testimonial-img
{ width: 100px;
border-radius:
50%;position:
relative; top: -
40px;
}
.testimonial-text
{ color: #777777;
text-align:
center;position:
relative;
}
.testimonial-text i
{ font-size: 20px;
position:
absolute;left:
0px;
top: 0px;
}
.testimonial-text p
{ text-indent:
20px;
}
.testimonial-name
{ color:
#2F2E2E; text-
align: right;
font-weight:
bold; margin-
top: 12px;
}
ScreenShot Of Properties Description Page
JavaScript for Pages Functionalities
// On success
XHR.addEventListener("load", signup_success);
// On error
XHR.addEventListener("error", on_error);
// Set up request
XHR.open("POST", "api/signup_submit.php");
document.getElementById("loading").style.display = 'block';event.preventDefault();
});
// On success
XHR.addEventListener("load", login_success);
// On error
XHR.addEventListener("error", on_error);
// Set up request
XHR.open("POST", "api/login_submit.php");
document.getElementById("loading").style.display = 'block';event.preventDefault();
});
});
It is important for Extension educators to develop and field test useful models for program design and
delivery that include behaviour change. It is equally important for the models to be linked to sound
educational theory that will be valued by partnering agencies and understood by the targeted clientele.
The process described in this article accomplished these objectives and resulted in information that
now provides a framework for quality training in a broad range of programming. Further development of
the model has resulted in additional insights with practical application beyond the scope of this article.
BIBLIOGRAPHY
REFERENCES:-
www.javapoint.com
http://www.w3school.com
www.github.com