0% found this document useful (0 votes)
118 views

Spring Boot - Assignment 1

This document outlines an assignment to create a CRUD REST API using Spring Boot, JPA, and Hibernate. It instructs the developer to create a Spring Boot project, define entity tables to be automatically created in an H2 database, and develop REST APIs for basic CRUD operations as well as additional endpoints. It also specifies implementing JWT authentication, Swagger documentation, JUnit tests, and criteria for assessment including code quality and functionality. The developer is asked to deliver the project code via email, GitHub repository, or Dropbox link.

Uploaded by

Janani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views

Spring Boot - Assignment 1

This document outlines an assignment to create a CRUD REST API using Spring Boot, JPA, and Hibernate. It instructs the developer to create a Spring Boot project, define entity tables to be automatically created in an H2 database, and develop REST APIs for basic CRUD operations as well as additional endpoints. It also specifies implementing JWT authentication, Swagger documentation, JUnit tests, and criteria for assessment including code quality and functionality. The developer is asked to deliver the project code via email, GitHub repository, or Dropbox link.

Uploaded by

Janani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Spring Boot – Assignment 1

Creating CRUD REST API/Service with Spring Boot, JPA and Hibernate

1. Create a Spring Boot project (Use maven build)


2. Create the tables below in h2 (When running your project, it must create the tables
automatically in h2)

3. Create rest API (Add, Update, Delete, Find All and Find by Id)
4. Create rest API:

 to get the list of course for a particular student id


 to get the list of students for a particular instructor id
 to get the total course duration for a particular student id

5. Implement JWT to secure the rest API


6. Add Swagger in your project
7. Implement JUnit for part 4

Assessment Criteria
 Use of Spring Boot concepts such as controller, service, DAO, entity, etc.
 Code quality
 Rest API must work via Swagger
 It must be a runnable project

Deliverable
 You can send the code via email
 Or create a repository in your GitHub account and commit the code into that repository.
Send us the link to the repository
 Or share via Dropbox and send us the link

You might also like