Generate a project file with the correct dependencies  Configure the application properties file for connecting to an H2 or mysql database Create a model Create a repository  Create the controller and implement the Standard CRUD HTTP methods Create an endpoint that returns a list of students Create an endpoint that returns back a single student by id Create an endpoint the adds a student to the database Create an endpoint that updates a student Create an endpoint that deletes a student

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

Create a student api.

The student resource contains the below information

Id, first name, last name, email

  1. Generate a project file with the correct dependencies 
  2. Configure the application properties file for connecting to an H2 or mysql database
  3. Create a model
  4. Create a repository 
  5. Create the controller and implement the Standard CRUD HTTP methods
  1. Create an endpoint that returns a list of students
  2. Create an endpoint that returns back a single student by id
  3. Create an endpoint the adds a student to the database
  4. Create an endpoint that updates a student
  5. Create an endpoint that deletes a student
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Intermediate SQL concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,