Closed Kravalg closed 2 months ago
@Kravalg Need add retry send confirm email, and need limit retry send email by time. First retry - 1 min, second - 3 min, 3th - 5 min. If user request 4th retry send email, user take ban on 24 hour
GraphQL
Endpoint - /api/graphql
Request body
mutation {
createUser(
input: { email: "eraaaafarg@gmail.com", initials: "Huan Karlos FIniat", password: "ad" }
) {
user {
id
email
initials
}
}
}
REST API
Endpoint - POST /api/users
Request body
{
"email": "user@example.com",
"initials": "string",
"password": "string"
}
Response body
{
"@context": "string",
"@id": "string",
"@type": "string",
"id": "string",
"email": "user@example.com",
"initials": "string",
}
@Kravalg Need add retry send confirm email, and need limit retry send email by time. First retry - 1 min, second - 3 min, 3th - 5 min. If user request 4th retry send email, user take ban on 24 hour
We don't have the design for UI where user can retry sending the email messages. But we can implement it on the backend side https://symfony.com/doc/current/messenger.html#retries-failures
test
API Service contract @pixelTM
https://github.com/VilnaCRM-Org/user-service/wiki/API-Endpoints
As a user, I want to be able to register in the VilnaCRM.
Design
User flow
Architecture
Technical requirements
Tasks
"* - optional"
Acceptance criteria