Simple REST API for sandbox tasks
/
- main route/users
- users collection/users/:id
- user by id
/users
REQUEST-DTO
{
name: string;
surname: string;
patronymic: string;
dateBirth: Date;
gender: string;
}
RESPONSE-DTO
{
id: number;
fullName: string;
dateBirth: Date;
gender: string;
avatar: string;
}