Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop the backend for a healthcare mangement system application using the Spring framework .(Spring Boot Hands-on ) Healthcare Service -----Java Full Stack Developer - Spring

Develop the backend for a healthcare mangement system application using the Spring framework.(Spring Boot Hands-on

)

Healthcare Service -----Java Full Stack Developer - Spring Boot


 I was not allowing all the file to upload here in question box hence uploaded in google drive - link provided in comments box..            

1. Healthcare Service - Spring Boot You have to create an API for a healthcare service. The following are the details of the API endpoints. register: (HTTP METHOD-POST) This endpoint should register the application user. On successful registration, the response should be {message=""Registration successful""} and on failure, the response should be {message="Password or username policy failed"} signin: (HTTP METHOD-POST) Users should be able to sign in through this endpoint by providing their email and password. On successful login, the response should be { message = "Authentication successful!", token - JWTtoken, id=user.ld}; and on failure, the response should be {message="Username or Password is incorrect."} "viewprofile/{userid}": (HTTP METHOD-GET) This API should return the details of all the application users. "editprofile/{userId}": (HTTP METHOD-GET) This API should allow you to edit the details of an application user. "patients/register": (HTTP METHOD-POST) An application user should register the patient through this API. On succcessful registration, the response should be (message="Registration successful") and on failure, {message="Registration failure"} "patients/list/": (HTTP METHOD-GET) Should return a list of all the patients. "patients/view/{id}": (HTTP METHOD-GET) Should return details of the single user of that particular ID

Step by Step Solution

3.45 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

Project Setup Create a new Spring Boot project using your preferred IDE or Spring Initializr Model Classes Define model classes for users patients and ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing a risk based approach to conducting a quality audit

Authors: Karla Johnstone, Audrey Gramling, Larry Rittenberg

9th edition

9781133939160, 1133939155, 1133939163, 978-1133939153

More Books

Students also viewed these Programming questions