Closed mburakaltiparmak closed 8 months ago
[x] A form should be created to sign up a new user
[x] Page URL should be “/signup”
[x] First you need to create and Axios instance with baseURL: https://workintech-fe-ecommerce.onrender.com
[x] You need to use react-hook-form library
[x] Name field is required with min 3 char validation
[x] Email needs to be validated
[x] Password needs to be min 8 character including numbers, lower case, upper case and special chars
[x] Password needs to be matched to second pass input field
Role field should be listed in selection box and data needs to be fetched by GET request to endpoint: “/roles”
If store option is selected as a role,
[ ] on Submit it should create a POST request to endpoint “/signup” with form data
[ ] Data Format
T5'in bütün istenenleri tamamlandı. Success ve error durumunda toastify ile bildirim gönderiliyor. Success durumunda daha önceden yaptığım login page'e yönlendiriyorum.
[x] A form should be created to sign up a new user
[x] Page URL should be “/signup”
[x] First you need to create and Axios instance with baseURL: https://workintech-fe-ecommerce.onrender.com
[x] You need to use react-hook-form library
[x] Name field is required with min 3 char validation
[x] Email needs to be validated
[x] Password needs to be min 8 character including numbers, lower case, upper case and special chars
[x] Password needs to be matched to second pass input field
Role field should be listed in selection box and data needs to be fetched by GET request to endpoint: “/roles”
If store option is selected as a role,
[ ] on Submit it should create a POST request to endpoint “/signup” with form data
[ ] Data Format