Skip to content

Instantly share code, notes, and snippets.

@Danielovich
Last active December 17, 2018 14:17
Show Gist options
  • Save Danielovich/a417af604ffd7d6bff01fba05b0ef2ad to your computer and use it in GitHub Desktop.
Save Danielovich/a417af604ffd7d6bff01fba05b0ef2ad to your computer and use it in GitHub Desktop.
A microservice challenge

Given a user who lost his password from the system and would like to reset it.

Build a set of services with your best microservice-architeture mindset, which solves of the following tasks in a Reset Password flow:

  1. Check whether the user email is valid valid ?
  2. Update the actual password for the user
  3. Update the password history of the user and when the user was last updated
  4. Send out an email to the user, informing that his password has been reset.

You can use whatever technology you wish. There must be documentation alongside the actual implementation, for the sake of learning and understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment