MaxKortelov / QUIZ_52670_54638_58135_58510

Quiz application
Apache License 2.0
2 stars 0 forks source link

Back-End: Create User APIs #3

Open MaxKortelov opened 3 months ago

MaxKortelov commented 3 months ago

Add API create user. Method: POST Endpoint: /auth/user/register Request body: { username: string; password: string; email: string } Response body { uuid: string; email: string; username: string; date_created: string; //Date date_updated: string; //Date }

Response statuses: 201 - user added to DB 500, 409 - user already in DB