building the views
At the login view, the user must provide the username and password correctly (password will encrypted by berypt 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 user.json. After successful login will redirect to dashboard view.
2. Check if logging in successfully, show the list of all products.
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 productName includes a-z, A-Z, /, space. Name of product must be unique.
The price of the product must be a number between 0 and 9.999. The default currency is USD.
The is Feature 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 products, all the controls require same of adding function.
-The end of test-
+ 100%
Zoom
Close