As an admin I want to be able to login for further configuration
Acceptance criteria
[x] DB schema is extended
[x] Endpoint for user creation is added
[x] Endpoint for authentication is created
[x] Endpoint for token creation is added
[x] Add cron job which cleans up the tokens
Notes
To be able to control who signs up for the admin interface, the user creation process has to be protected in some way. The easiest one is to create one-time tokens, which the user has to provide while signing up. Existing admins should be able to create tokens via an endpoint. The db should get seeded with some initial tokens
As an admin I want to be able to login for further configuration
Acceptance criteria
Notes
To be able to control who signs up for the admin interface, the user creation process has to be protected in some way. The easiest one is to create one-time tokens, which the user has to provide while signing up. Existing admins should be able to create tokens via an endpoint. The db should get seeded with some initial tokens