Commit Graph

6 Commits

Author SHA1 Message Date
ekzyis 26485a2307 Fix error rendering 2024-07-15 06:16:46 +02:00
ekzyis 47183d3cf9 Add error.templ 2024-07-10 09:13:52 +02:00
ekzyis c7ae559777 Implement withdrawal 2023-12-03 06:21:57 +01:00
ekzyis c1af91b0e4 Use JSON for errors 2023-11-26 18:21:26 +01:00
ekzyis 4e343d49d0 implement login with vue
* use vue router
* use pinia
* use tailwindcss
* use vite
* transform /api/login and /api/login/callback into JSON APIs
* add Access-Control-Allow-Credentials header
* add TODO about JSON errors
2023-11-07 09:06:35 +01:00
ekzyis 7558655458 refactor: Structure code into different packages
I have put too much code into the same files.

Also, I put everything into the same package: main.

This package is only meant for executables.

Therefore, I have refactored my code to use multiple packages. These packages also guarantee separation of concerns since Golang doesn't allow cyclic imports.
2023-09-10 23:13:08 +02:00