Open kwakseungmin23 opened 1 year ago
MIDDLE WARE AUTHORIZATION DONE
found mongoose minlength to handle length of the value !
match to handle nickname composed of a-z, A-Z, 0-9
Use regex to do not include nickname values to the password. /[A - z, 0 - 9]/ Logic -> split & itinerate each element of nickname, password array.
[x] sign in
[x] first I need to make middleware to pass (authorize) every routes.
[x] 1. 회원 가입 API
최소 3자 이상, 알파벳 대소문자(a~z, A~Z), 숫자(0~9)
로 구성하기