Project Documentaion
Project Documentaion
Project Proposal
ISLAM MD SHAFIQUL-19012773
2022-1st semester
Nowadays data is a crucial part of our everyday technical life. I am going to implement a student
management system project based on real time data base. I my project this system I will implement
is called Rest services, which is going to extends other business services. Using this services admin
can add new student data, update, and delete from the database.
Objective:
By the end of the semester my plan to achieve form my project is a total runnable web application.
Which I can test by myself a client or as a user that is it 100 percent working or not and it would
work obviously. I hope from my project my other course mates will learn something new and get
inspired to do so.
Motivation:
It is a desire for me to accomplish a Rest API based Student Management System web application.
Prior Work:
I have been learning lots of frontend based work for an HTML web page since long time , in this
project I am going to implement of those programming stuffs I have learned throughout last years.
Deliverables:
I will develop a web application using one of Java frameworks called Spring boot. Later on we
can make it as an exe application if we want.
Resources;
Java JDK, IntelliJ IDEA, Spring boot latest version, hibernate , SQL/ MySQL database , JDBC
Connector, Thymeleaf , Html5 & CSS3
Engineering Knowledge:
Basically in my project I will need a wide range of computer science knowledge like programing
and if I want to explain more specifically then I need to tell about my project is , first of all I have
to how design and develop web pages and how to connect them with template engine and right
after that as it is a fully object oriented project and in this project I will heavily use classes
interfaces , methods and threads (Multithreads) , streams etc. Incase of programming
language I want to add something more about Array List, different data types , data structure and
last but not the least is Database. And we can add different type of relations among the tables using
One to One and many to may relations using foreign key and primary key(FK,PK ).
Engineering Design: Please indicate in what ways the project will draw on your engineering
design skills.
Week Tasks
4 Proposal submits | and Frontend design
5 Creating Entity classes Connection building with database
6 Building Controller Class as a Request handler, Repositories
7 Creating Business Services classes, and testing classes and Finally Run the project
Milestones:
References. https://www.baeldung.com
Database creating for my project:
As my project name is Hospital management system:
So my Database name is “hospital_management_system”
created by performing this query
CREATE DATABASE hospital_management_system;
Home page
of my web
site
DDL writing for tables:
We can see that there is no table called “nurse”
The 12 tables:
and rename */
Performing
“order by ASC” date of birth in “doctor” table
SELECT *
FROM doctor
ORDER BY date_of_birth ASC;
Performing
“order by DESC” date of birth in “doctor” table
SELECT *
FROM doctor
ORDER BY date_of_birth DESC;
Performing
“Set operation” between “doctor”& nurse tables
Using “Union”
SELECT doctor_name
AS employe_name,
designation,salary,date_of_birth FROM doctor
UNION
SELECT nurse_name
AS employe_name,
designation,salary,date_of_birth FROM nurse;
Doctor
table
Doctor table
union
Nurse
table Nurse table
Performing
“Set operation” between “employee ”& doctor
tables
Using “intersect”
SELECT
AVG(salary)
FROM doctor;
SELECT
MAX(salary)
FROM doctor;
SELECT
MIN(salary)
FROM doctor;
SELECT
sum(salary)
FROM doctor;
SELECT
count(*)
FROM doctor;
Performing
“nested subqueries”
SELECT customer_name
from
customerreview
WHERE doctor_name IN
(SELECT doctor_name
FROM doctor
WHERE unit_name='burn');
SELECT customer_phone
FROM
reservation
WHERE unit_name IN
(SELECT unit_name
FROM customerreview
WHERE unit_name='burn');
SELECT nurse_name,designation
FROM
nurse
WHERE salary>
(SELECT avg(salary) from
nurse);
Performing
“Modification” (delete)
delete
FROM
doctor
WHERE unit_name='ear';
The row was containing unit name ear has been deleted
Performing
“Modification” (insertion)
Inerstion has been perfomed in the sql file;
Performing
“Modification” (updating)
Before
UPDATE authority
SET authority_salary =
authority_salary*1.03
WHERE after
authority_salary<=120000
Performing
“Join operation”
normal join
SELECT*FROM expenses
JOIN doctor
ON expenses.id = doctor.id;
Left join
select*from doctor
left join nurse
on doctor.id = nurse.id;
select*from doctor
right join nurse
on doctor.id = nurse.id;
Right join
Performing
Query for “View” generation
SELECT*FROM
unionofdoctorandnurse;
Performing
“Integrity constraints”
When I have created the relations there were some field where I have mentioned some integrity
constraints, for example in my nurse table the name of the nurse is not null that means this field
can not leave empty. Some of integrity constraints are “not null, check, primary key, foreign key”.
Performing
“Function/ procedures”
create procedure hospital_procedure
Note: In my project frontend part I could not show lot’s of part because my screen recorder
was not paid version and It had a time limit of recording, that’s why I have concise the video
length.
for my video presentation of frontend part, the link in below:
https://drive.google.com/file/d/1_uvYrMlJf1y2UiraUp1_YsjateTmCyE3/view?usp=sharing