SDN302_-_SU_2025_-_PE_3967.webp
Erza_girl

SDN302_-_SU_2025_-_PE_3967.webp

Zoom
and password (pw) correctly (encrypted with bcrypt and stored in the 'accounts' collection). All CRUD actions
Kizspy.me
require authentication. Display error messages for failed logins. Store account data in the 'accounts' collection from
'account.json'. Redirect to the residents view after a successful login.
2. After successful login, display a list of all residents (using a card view, not a table view) including the apartment
name. This route path will match requests to /view/residents.
3. After successful login, allow deletion of a selected resident by confirming the action and notifying the result. This
route path will match requests to /view/residents/:id.
4. After successful login, add a new resident that meets the requirements using a modal form.
All fields are required.
-
-
The residentName must include only letters( a-z, A-Z) and space, and must be unique.
-The floor must be a number between 1 and 40.
-
-
The yOB is entered and displayed as an age (1 to 85) and automatically converted to the year of birth when saved.
The isowned field must be a toggle or switch control.
The apartment field must be a select control, with options displaying apartmentName values from the apartment
collection.
-
This route path will match requests to /view/residents.
5. After successful login, allow updating the resident list. All controls must meet the same requirements as the add
function. This route path will match requests to /view/residents/:id.
+ 100%
-The end of test-
Close
Chưa có bình luận nào.

Thông tin

Category
SDN302
Thêm bởi
Erza_girl
Ngày thêm
Lượt xem
468
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom