Assign3 COMP303
Assign3 COMP303
You should follow the below given instructions while you are
working on this exercise:
All new entities should have an Id with type of integer or long and
all other properties are defined based on given table information in
the next page.
Your app should support the REST web services of partial “Blood
Bank Information System” details as shown in the below given
table. (You should use a Map or List as a memory storage, but don’t
need to create a table and no JPA implementation required)
FirstName
BloodbankName
LastName
Address BloodGroup
Age or DOB
City Quantity
Gender
Phone BestBefore (date)
BloodGroup
Website Status
City
Email
Phone
You should define entities, services and controllers for each and
every information:
Your REST service should perform the following requests for all
three entities (Seeker, BloodBank, and BloodStock).
GET
POST
PUT
DELETE
You should use POSTMAN google chrome browser app to analyze
and test your REST services mapping. (Refer recipe _3_2 and
SpringBootRestAPI and SpringBootRestExmployee examples)
Late Submission
There is a 20% off per day late penalty which means if a student
submits an assignment one day late and does perfect work, the
most they can obtain is 80/100.
For example, if a student submits one day late and obtains 8/10 as
an assignment then the professor will need to deduct 20% from this
grade (8 x .20 = 1.6, 8-1.6 = 6.4/10 - record 6.4). If a student
submits two days late then 40% will be deducted, for example,
assume the student obtains 9/10 (9 x .40 = 3.6, 9-3.6 = 5.4/10).
By day five the student receives zero.
Assessment Rubrics
Points
Criteria
(Marks)
Total 50 points