Lab Assignment:: 10 - GayathreeIyer/Advanced-Software-Engineering GitHub Wiki
Name: Gayathree Natarajan Iyer
UMKC ID: 16227784
Class ID: 20
Lab Assignment 10::
Question 1: Create REST services for CRUD operation in MongoDB. Use this REST services and create Web Application which should have following features: 1) User can sign up or login 2) After signup/login, in next page display all the users and details of user 3) Provide options for update or delete user data.
Answer:
--> Registration Page where user can enter his/her first name, second name, email-ID, Password.
--> Filled Registration page where user has given his/her details.
--> The details entered by user is reflected in MongoDB.
--> Similarly, if user enters different details many times, MongoDB will appear like this:
--> Now, if user clicks on Login, User will be navigated to the CRUD Page.
--> User can see all the details present in the MongoDB if he clicks on 'View Your Details' button.
--> If user wants to delete a single entry from MongoDB, User can choose the ID corresponding to that entry in MongoDB.
--> Successfully Deleted message.
--> Now, user will be able to see that entry deleted from MongoDB. Now there are only 2 entries. The 3rd entry has been deleted by the user.
--> The next time, user clicks on 'View Your Details', user will see only the 2 entries and not the deleted entry.
View Your Details after deletion