Develop the backend for a healthcare mangement system application using the Spring framework .(Spring Boot Hands-on )
Fantastic news! We've Found the answer you've been seeking!
Question:
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..
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
Project Setup Create a new Spring Boot project using your preferred IDE or Spring Initializr Model Classes Define model classes for users patients and ... View the full answer
Related Book For
Auditing a risk based approach to conducting a quality audit
ISBN: 978-1133939153
9th edition
Authors: Karla Johnstone, Audrey Gramling, Larry Rittenberg
Posted Date:
Students also viewed these programming questions
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
Most businesses will incur debt at some point during their existence. Question 26 options: True False
-
The circular plate has a weight W and center of gravity at its center. If it is supported by three vertical cords tied to its edge, determine the largest distance d from the center to where any...
-
Provide code A company manufactures different types of software products. They deliver their products to their N clients. Whenever the company fulfills the complete order of a client, the orderlD...
-
Let us assume that at time \(t\) (now), the futures price of an underlying asset is The strike of the futures option is \(K=\$ 140\), and \(F_{\text {last }}\) is the last settlement futures price...
-
Max Small has outstanding school loans that require a monthly payment of $1,000. He needs to purchase a new car for work and estimates that this will add $350 per month to his existing monthly...
-
A small rubber ball is launched by a compressed - air cannon from ground level with an initial speed of 1 2 . 4 1 2 . 4 m / / s directly upward. Choose upward as the positive direction in your...
-
The beginning inventory at Midnight Supplies and data on purchases and sales for a three month period ending March 31 are as follows: Date Transaction Number of Units Per Unit Total Jan. 1 Inventory...
-
Choose one of the pretrial litigation process steps and answer the following questions. Describe the Pleading process step Why is this step required prior to starting the trial? What do the parties...
-
This a Critical Thinking , that will focus on Global India. The idea is to insert in your three responses not just good definitions, description, and analysis, but also concepts that have been...
-
Explain the OBPS and relate it to the emissions Tax system . For example, you might begin by outlining the textbook-type emissions tax system and then use it to illustrate that the OBPS is just a...
-
Identify the correct order of data flow in an AI ecosystem. Data modeling Data sourcing / acquisition Data preparation Data integration Data delivery Data analysis
-
4. Hackers and their companion viruses are an increasing problem, especially on the Internet. Discuss any FIVE (5) measures of how a university can protect itself from this.
-
2. Point out the error(s) and how they can be fixed in the following code: public class OOPExercises { public static void main(String[] args) { A objA = new A( ); double result; result = objA.getA(...
-
Muangthay Ltd produces bamboo tables and uses the weighted average method of process costing. It has two production departments; Assembly and Testing, and categorised its production costs into two...
-
Suppose that the electrical potential at the point (x, y, z) is E(x, y, z) = x + y - 2z. What is the direction of the acceleration at the point (1,3,2)?
-
Within many of the subsequent chapters of this textbook, we highlight chapter-relevant material using Ford Motor Company (Ford) and Toyota Motor Corporation (Toyota) as practical examples. We pose...
-
Briefly describe the various roles of the following organizations that affect the external auditing profession and the nature of those effects: a. Congress b. Public Company Accounting Oversight...
-
What is dual dating in terms of the audit report? Assume the following facts: The original audit report is dated March 18, 2013. The company entered into a definitive agreement to discontinue a...
-
Three electrodes, \(1-3\), are attached to a patient as shown in Figure P21.26. During ventricular depolarization (see Figure 21.29), across which pair of electrodes is the magnitude of the potential...
-
a. What is the potential difference between the terminals of an ordinary AA or AAA battery? (If you're not sure, find one and look at the label.) b. An AA battery is connected to a parallel-plate...
-
A proton with an initial speed of \(800,000 \mathrm{~m} / \mathrm{s}\) is brought to rest by an electric field. a. Did the proton move into a region of higher potential or lower potential? b. What...
Study smarter with the SolutionInn App