The user microservice

The user microservice is responsible for handling anything related to user profile management. The service facilitates the following functionalities:

  • Registration of new users
  • Management of user profiles
  • Authentication of existing users
  • Generating unique authentication tokens for the user to log in with
  • Providing user authentication functionality to other services

For this service to operate, we need to have the following two database models:

  • User database model: The user database model is responsible for the management of the user records, such as their username, hashed passwords, and so on.
  • Token database model: The token database model is responsible for storing information about the tokens that has been generated ...

Get Hands-On Enterprise Application Development with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.