Skip to content

Spring Boot MVC based Todo Manager Web Application

Notifications You must be signed in to change notification settings

imsupriyo/TodoManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo Manager:

A full CRUD based Spring MVC application with user authentication and role-based access control. User with role admin has additional privilege to manage users and update all Todos.

Unit test and Integration Test have been done utilizing JUnit and Mockito.

ER Diagram:

ER Diagram

Snapshots:

Todo Controller:

Login Page:

Login Page

Homepage for Employee:

User with Employee role only has access to add, update and delete Todos. Non-Admin View

Add Todo:

User need to submit this form to add a new Todo. Added Todo

After Adding Todo:

List of incomplete Todos. (Todos marked as done will not be listed. Also, by default Todos are listed in ascending order of Target Date) Added Todo

After updating Todo:

Updated the description of the first Todo to demonstrate the update functionality. Update Todo

After deleting todo:

Deleted the first Todo to demonstrate the delete functionality. Delete Todo

Admin Controller:

Homepage for Admin:

Admin user has special "Admin-View" link-button which provide additional features like- list all the Todos respective of any users, add/ delete a user and assign Todo to any existing users. Home Page

Add new user:

By submitting this form, Admin can create new a user. Add User

Add Todo for a user as admin:

Admin can add a Todo for any existing users by choosing the username from the dropdown list. Add User

Delete a user:

To delete a user admin need to select the username from the dropdown and hit submit. Delete User