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