SDN301m_-_SU_2023_-_PE_50.webp
E

SDN301m_-_SU_2023_-_PE_50.webp

user ({
username { type: String, require: true},
password { type: String, require: true},
},{ timestamps: true, });
Task 01 (1.0 mark). Using Express generator for developing the REST API server, creating related models then migrate to database named SDN301MPE_SU23_StudentCodeDB (MongoDB).
Task 02 (5.0 marks) Create a full-fledged REST API server to category collection, you must use JWT for authenticating API.
Implement CRUD actions with category collection.
Task 03 (4.0 marks). Client application for orchid 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 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.
+ 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
728
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom