diabetes-assistant / documentation

Diabetes Assistant related documentations
MIT License
0 stars 0 forks source link

Simple Registration Doctor #11

Closed meandor closed 3 years ago

meandor commented 3 years ago

As a Doctor I want to be able to create an account so that I can use the service with a secure access

Context

For convenience reasons Doctors are able to use our service through a web interface. This web interface only grants access to Doctors so that they can manage patient data. In order to do so they should be able to register and login.

In scope

Out of scope

There will be follow up stories for this: https://github.com/diabetes-assistant/documentation/issues/13, https://github.com/diabetes-assistant/documentation/issues/15, https://github.com/diabetes-assistant/documentation/issues/12

Tech notes

Acceptance Criteria

AC1

GIVEN a doctor is not registered yet WHEN they click on register, enter their email and password and click the register button THEN they will be registered and can login and a confirmation screen appears (see attached sketches)

AC2

GIVEN a doctor is already registered with given email WHEN they click on register, enter their email and password and click the register button THEN they will be forwarded to the confirmation screen without anything happening in the backend (security reasons), it will look like they just registered, but they will not have actually registered a new user (see attached sketches)

AC3

GIVEN a doctor is not registered WHEN they click on register, enter nothing in email and password and click the register button THEN they will get an error message telling them they should at least enter the fields email and password (see attached sketches)

AC4

GIVEN a doctor is not registered WHEN they fill out all the fields and are able to register and click on the register button THEN all the filled out data will be sent to the backend via HTTPS (see browser if there is a certificate and https is enabled)

Sketches

Registration confirmation page

register-confirmation

Registration with error message

register-fail

Register form

register

meandor commented 3 years ago

frontend part done

meandor commented 3 years ago

ready for review