Hi there, we need the log in / sign up form to work, we're a bit late, so hani is done with the forms, what remains now is the functions that will fetch the user data.
to sign up a user, he need to put these infos, (every infos i required):
- firstName: String.
- lastName: String.
- sex: String (its gonna be a drop down, or some radio buttons to check).
- date_of_birth: String (basic date input, but the format has to be years-months-days).
- location: String (where he lives).
- phone: String.
- password: String.
- covid_19_test: Boolean (if the dude is tested positive to covid19).
to sign in a user, he need to put these infos, (every infos i required):
- phone: String.
- password: String.
Note: those are the name of the properties you're gonna use in the ... i dunno data {}, it has to follow these nominations.
So basicly this is what has to be done:
the Result of both these requests if everything is correct, is going to be a json object containing all his infos beside his phone and password.