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 ...