Commit graph

73 commits

Author SHA1 Message Date
Peter Vacho cb5d6a63ee
Fix using in operator with find method 2024-12-25 21:24:38 +01:00
Peter Vacho e66029ed36
Remove todo for improved color storing 2024-12-25 20:48:13 +01:00
Peter Vacho 8e82d7b661
Annotate list link attrs with Sequence type
This is beneficial as lists are invariant and we're using a union type
here with User | Link[User], which means we can't assign a list[User] to
the attr, which is very annoying.
2024-12-25 20:46:48 +01:00
Peter Vacho 8737897ce9
Add color validation for categories 2024-12-25 20:24:11 +01:00
Peter Vacho e0b77d7ff2
Add a create_user method for register data 2024-12-25 20:22:00 +01:00
Peter Vacho 3c2bc1c10e
Type-hint Link db attributes more appropriately 2024-12-25 19:33:13 +01:00
Peter Vacho 3689f7d076
Remove trailing / from users endpoints 2024-12-23 18:29:48 +01:00
Peter Vacho fd3e355bfc
Return both refresh & access token expiry 2024-12-23 18:29:10 +01:00
Peter Vacho aee0bdd8cf
Add endpoints to manage categories 2024-11-29 17:24:19 +01:00
Peter Vacho e93bf5524b
Allow event to hold multiple categories 2024-11-29 17:21:21 +01:00
Peter Vacho 7bfe4268e7
Add user management endpoints 2024-11-28 14:35:23 +01:00
Peter Vacho b226432d77
Sessions management 2024-11-28 01:06:02 +01:00
Peter Vacho 8e0837f7f4
Fix refresh token expiration 2024-11-28 00:50:07 +01:00
Peter Vacho 6f80ea686e
Store datetimes as strings 2024-11-28 00:49:32 +01:00
Peter Vacho 6f03d37ee9
Add early auth support 2024-11-28 00:25:03 +01:00
Peter Vacho 65b68c04a4
Add beanie ODM 2024-11-27 23:16:28 +01:00
Peter Vacho ed540eeca3
Add mongodb connection support 2024-11-27 16:39:23 +01:00
Peter Vacho b6b7c466db
Use dark-themed swagger docs 2024-11-27 16:12:38 +01:00
Peter Vacho 7d72730101
Add logging 2024-11-27 16:11:08 +01:00
Peter Vacho 9affe75810
Add config handler 2024-11-27 16:08:00 +01:00
Peter Vacho 04b2ee57bd
Basic API 2024-11-27 16:04:46 +01:00
Peter Vacho 7bd840d8e3
Add pre-commit, linter, formatter & type-checker 2024-11-27 15:59:38 +01:00
Peter Vacho 0d5e56d0f4
Initial Commit 2024-11-27 15:52:17 +01:00