Skip to content
José Antonio Zamudio Amaya edited this page Jan 15, 2023 · 15 revisions

The User MS is responsible for managing all connection requests to the application for the authentication of personal data of the application users. Specifically, it will process user connections to maintain a history of their data, songs and reports.

Entities

User

User MS defines an "User" entity with the following attributes:

(int) user_id
(str) username
(str) mail
(str) password
(str) role
(str) plan

CRUD

CREATE

  • Create user

READ

  • List user info (own user)

UPDATE

  • Update user info (own user)

DELETE

  • Delete user (own user)

Endpoints

The endpoint documentation is accesible through: Swagger UI

Integration with internal APIs

User connects directly to the messaging, songs and support APIs. The occasion in which the integration is executed is as follows:

  1. A Song is liked by an User

    (Songs) CREATE like

    (Users) PATCH users (with like info)

Integration with external APIs

User is associated with a Bad Word Checker API, Purgo Malum. This is used to check if users have introduced bad words in the create and update form. In this way, we let all this validation to an external agent, that will be updated with any new bad word without us needing to update anything.

Clone this wiki locally