Skip to content

A web app developed in Spring Boot using Spring Security, and features CRUD operations on a Employee entity, and uses Spring Boot Data JPA for all DB operations.

Notifications You must be signed in to change notification settings

Divya0319/employee-dir-webApp-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Directory WebApp in Spring Boot

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.

Demo of app working in local server

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

About

A web app developed in Spring Boot using Spring Security, and features CRUD operations on a Employee entity, and uses Spring Boot Data JPA for all DB operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published