Skip to content

xebia/go-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patientregistration

Scenario:

We are building a new platform for patients to gain insights in their medical history. To do so, we have to allow patients to register with our platform. When registering, we will validate that the email address provided belongs to the patient in question. We will do so by sending the patient a randomly generated pincode which they'll have to enter to verify their email.

Expectation:

  1. Create the registration service to account for the aforementioned scenario.
  2. Replace the inbound registration interface with a GRPC implementation

You can make use of the following building blocks 👇

Building blocks:

  • PatientStorer - interface + implementation
  • EmailSender - interface + implementation
  • Initial RegistrationService - interface + unit test
  • protobuf contract with the initial start patient registration request

Registration flow

alt text

Sequence Diagram

alt text

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published