SDN301m_-_SU_2024_-_PE_2147.webp
Đ

SDN301m_-_SU_2024_-_PE_2147.webp

Task 02 (5.0 marks) Create a full-fledged REST API server to positions collection, you must use JWT for authenticating API and perform all conditions below:
Implement CRUD actions with positions collection.
Validation for the DELETE action.
The secrect for creating the signature part is your username (Ex: mannlt123456)
Task 03 (4.0 marks). Client application for players management
Student must choose one of template engines (EJS, HANDLEBARS, PUG) with Express for building the views
1. Authentication function
At the login view, the member must provide the key and code correctly (code will be encrypted by berypt library and be stored at members collection). All CRUD actions are required with authentication. In the case login unsuccessfully, display the messages which involve the errors. The data of members should store at members collection and come from the members.json file. After successful login will redirect to dashboard.
2. Check if logging in successfully, displaying the list of players as the cards view (not using table view).
3. Check if logging in successfully, delete the selected item with the confirmation.
4. Check if login successfully, add new item with the requirements:
All fields are required.
The value for playerName includes a-z, A-Z, /, space and digit 0-9, Each word of the playerName must begin with a capital letter.
The isCaptain value must be a toggle/switch control.
The minutes Played is greater than 0 and less than 1000
The PassingAccuracy displays with format % and store at database decimal format.
The position field must be a select control, the data in the select must appear as position which is taken from positions collection.
5. Check if login successfully, update the list of players, all the controls require same of adding function.
-The end of test-
Chưa có bình luận nào.

Thông tin

Category
SDN301m
Thêm bởi
Đức Hùng1
Ngày thêm
Lượt xem
518
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
SDN301m_-_SU_2024_-_PE_2147.webp
File size
86.1 KB
Dimensions
931px x 736px

Share this media

Back
Bên trên Bottom