Back-End Web Development Using Nodejs
Back-End Web Development Using Nodejs
EX.NO: 08
BACK-END WEB DEVELOPMENT USING NODEJS
DATE:
AIM:
To design a back-end web application using NodeJS for Indian Dog registrations.
PROCEDURE:
CODE
FSD Ex 8.html
<html>
<head>
<title>Indian Dog Breeds Registration</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.form-container {
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
text-align: center;
}
h1 {
color: #8B4513;
AKASH S (71812211005)
font-size: 24px;
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #555;
}
input,
select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
}
button {
background-color: #8B4513;
/* Brown color */
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #A0522D;
}
.reset-button {
background-color: #ccc;
color: #333;
margin-left: 10px;
}
AKASH S (71812211005)
.reset-button:hover {
background-color: #bbb;
}
</style>
</head>
<body>
Ex8_server.js
OUTPUT
AKASH S (71812211005)
AKASH S (71812211005)
INFERENCE
The form once submitted will send a POST request to the backend server. The sent data will be
received in the backend server and will process it and send a response back. The data is also displayed
in the server using console.log
RESULT:
Thus, back-end web application using NodeJS for Indian Dog registrations has been verified
and executed successfully.