Open sergeKashkin opened 6 months ago
The purpose of this task is to create authentication routes for login and sign-up.
auth.controller.ts
auth/sign-up
{ email: string; password: string; }
auth/login
auth.service.ts
login(email: string, password: string)
signup(email: string; password: string)
The purpose of this task is to create authentication routes for login and sign-up.
auth.controller.ts
auth/sign-up
- body -{ email: string; password: string; }
auth/login
- body -{ email: string; password: string; }
auth.service.ts
file.login(email: string, password: string)
,signup(email: string; password: string)