SDN301m_-_SU_2023_-_PE_50.webp
E

SDN301m_-_SU_2023_-_PE_50.webp

Student must choose one of template engines (EJS, HANDLEBARS, PUG...) with Express for building the
views
1. Authentication function
At the login view, the user must provide the username and password correctly (password will encrypted by bcrypt library and stored at user collection). All CRUD actions are required with authentication. In the case login unsuccessfully, display the messages which involve the errors. The data of user should store at user collection and come from users.json. After successful login will redirect to dashboard view.
2. Check if logging in successfully, show the table that contains all the list of orchids.
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.
Value for orchidName includes a-z, A-Z, /, space and digit 0-9. Each word of the orchidName must
begin with a capital letter.
The isNature value must be a toggle control.
The category field must be a select control, the data in the select must appear as categoryName which is taken from category collection.
5. Check if login successfully, update the list of orchids, all the controls require same of adding function.
+ 100%
Zoom
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom