Simple projects in Springboot
// The Employee project is a simple project that helps you use CRUD operations in Spring boot.
Exercice:
- Create an Entity for Employees and calls it Employee. The table should be named employee.
Auto generate the Employee ID using a sequence
The other variables are name, email, dob, age. Age will be calculated but not store in the db.
-
Create a repositories to the DB of your choice for this exercise
-
Create a service and service implimentation class for above methods
-
Create a Controller with the methods for get, register, delete, update Also find a student by ID Ensure that you cannot delete or update that does not exists A an existing student cannot be registered.
-
Use insomnia to conduct the API tests for the solution