Commit graph

7 commits

Author SHA1 Message Date
Leo
ff2d6f9c9c feat: Add a navbar. Add a settings page, forms to update username, email, password. Add the needed sql queries, service and handler functions. Remove the not needed GET /user endpoint. 2026-08-21 11:40:32 +03:00
Leo
8d6889ce08 feat: Remove godotenv. Replace it with our own function that reads .env on start 2026-08-18 00:30:20 +03:00
Leo
43219268e9 feat: Add Sliding expiration for user_sessions
The user_session is valid for 24 hours, but the session will be bumped if it has been over an hour since the last update. An hour was set as a deadline, so that we would not update the user_session rows too often.
2026-08-17 23:47:11 +03:00
Leo
1d70b3a6d3 Add Homepage, login, signup page UI. Add logout functionality 2026-08-17 15:42:27 +03:00
Leo
e1b63d5deb Add signup endpoint and handler 2026-08-17 11:15:45 +03:00
Leo
6b8f02fa0f Move all inline sql queries to sqlc queries 2026-08-17 10:44:14 +03:00
Leo
6301c4f3b5 Initial commit 2026-08-15 23:57:52 +03:00