Commit Graph

11 Commits

Author SHA1 Message Date
Valentin Tolmer
5a70f2ebc2 Add a method to create a user 2021-05-26 08:43:31 +02:00
Valentin Tolmer
d1a42b178a Make display_name, first&last name optional 2021-05-26 08:42:05 +02:00
Valentin Tolmer
d5cb53ae8a Implement refresh tokens 2021-05-20 17:40:30 +02:00
Valentin Tolmer
da4009b0b7 Implement Default for User 2021-05-14 10:30:58 +02:00
Valentin Tolmer
e0bcb58d36 Tidy up dependencies 2021-05-14 09:24:23 +02:00
Valentin Tolmer
a15d970725 Move the JWTClaims to the model 2021-05-13 19:32:29 +02:00
Valentin Tolmer
e1047124fa Fine-tune passing errors from the server to the client 2021-05-10 10:21:24 +02:00
Valentin Tolmer
8dd55195f5 Add a handler for the /api/users endpoint 2021-05-09 12:06:58 +02:00
Valentin Tolmer
4ae94839f2 Setup a basic API route 2021-05-09 11:52:53 +02:00
Valentin Tolmer
cace6eb135 Add sqlx as conditional dependency to the model
That way, we can use query_as
2021-05-09 10:10:17 +02:00
Valentin Tolmer
c58459547b Split the crate in 3, introduce JS frontend 2021-05-08 11:34:55 +02:00