Commit graph

12 commits

Author SHA1 Message Date
75d1324952 Implements create feed handler
And necessary user helper functions
2024-05-31 21:17:34 +02:00
a2e5462553 Adds feed model to possible validation constraints 2024-05-31 21:17:16 +02:00
1563210586 Handles unique constraint error on user creation 2024-04-30 20:21:29 +02:00
971ce6e2a4 Returns validation error as single string 2024-04-30 20:20:51 +02:00
cfe335ea39 Implements API validator and uses it in user endpoint 2024-04-30 20:03:37 +02:00
932edb8da7 Uses uuid to avoid easy inferral of user ids 2024-04-28 20:21:56 +02:00
9fda114cd3 Adds handler structs and user handler 2024-04-28 20:05:36 +02:00
d82a1c9215 Sets up internal packages for database and api 2024-04-28 19:14:51 +02:00
4748435779 Revert "Removes internal api package"
This reverts commit c65e239b68.
2024-04-28 19:00:19 +02:00
c65e239b68 Removes internal api package 2024-04-26 22:46:31 +02:00
08c7c1f9fa Refactors api key functionality
- API Key is now read from env file
- API routes won't be set up if no API key is given via ENV file
2024-04-26 20:46:59 +02:00
c973859f7f Implements api routes and api key auth
CAUTION: Temporary api key is hardcoded, must be changed
2024-04-26 17:23:55 +02:00