.ScreenShots are provided
.in Security part: kiran is user, vinay is admin, both uses same password = "welcome"
.video link: https://drive.google.com/drive/folders/1wN3P6P6pK0CFSiPwnyfjd6XaHrfigRzq?usp=sharing
.You are required to create a Employee Management Rest Api based Web application, where you will be developing CRUD(Create,Read,Update and Delete) functionality along with Sorting and some concepts of security.
.Your Rest Api should be secure.And should have different endpoints for different operations-
1.Your application should be able to add roles in the database dynamically in the db.
.Where name specifies a role which can be assigned to a user that will be used for authentication purposes while interacting with the api.
-
Your application should be able to add Users in the db which can be used for authentication purposes.
-
Now Your application should be able to add employees data in the db if and only if the authenticated user is ADMIN-
-
Your application should provide an endpoint to list all the employees stored in the database.
-
Your application should provide endpoint to fetch or get an employee record specifically based on the id of that employee-
-
Your application should provide an endpoint to update an existing employee record with the given updated json object.
-
Your application should also provide an endpoint to delete an existing employee record based on the id of the employee-
-
Your application should provide an endpoint to fetch an employee by his/her first name and if found more than one record then list them all-
-
Your application should be able to list all employee records sorted on their first name in either ascending order or descending order .