Use the username "John", and password "fun123" to view all employees.
To check out preview of working app, follow this link
A web app developed in Spring Boot, and features CRUD operations on a Employee entity, and uses Spring Boot Data JPA for all DB operations.
The application uses Thymeleaf as template engine, and also some bootstrap css styles for a simple, yet intuitive web application.
Update
Login/logout feature is added recently, using Spring Security with Thymeleaf(Thymeleaf Security).
The app also features showing and hiding some options in list of employees page, based on the logged-in user role.
When logging in with different users, the list of employees page shows and hides the options based on the role.
- Can only view list of employees with "Employee" role.
- Can add and update employee with "Manager" role.
- Can add, update and delete employee with "Admin" role.
Adding a new employee, when logged-in with "Manager" role
Updating an employee, when logged-in with "Manager" role
Deleting an employee, when logged-in with "Admin" role
Access denied to add a new employee, when logged-in with "Employee" role