Commit graph

16 commits

Author SHA1 Message Date
Leo
4d856d3fd9 Add postgreSQL initiation scripts to flake.nix 2026-08-22 16:37:57 +03:00
Leo
fe0363746b Add flake.nix 2026-08-21 22:13:08 +03:00
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
13d5156e06 dx: Add a db script and target to Makefile 2026-08-18 09:15:22 +03:00
Leo
57ac5de1df feat: Pass user to index template 2026-08-18 08:04:46 +03:00
Leo
d2f2de8c50 build: Add Makefile, update README 2026-08-18 08:04:20 +03:00
Leo
97eb04183b cicd: Add a precommit hook to check formatting with gofmt. Add guide on how to add precommit hooks in the README 2026-08-18 00:45:47 +03:00
Leo
64b4de8b8a chore: Format code 2026-08-18 00:44:55 +03:00
Leo
188b7905f5 build: Add Dockerfile and dockerignore 2026-08-18 00:40:23 +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
8440039362 docs: Update README 2026-08-18 00:03:50 +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