158 Commits

Author SHA1 Message Date
d911e14372 chore(deps): update dependency go to v1.24.6
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 3m12s
2025-08-06 19:07:01 +00:00
739e216106 chore(deps): update node.js to 3218f0d
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m12s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m49s
2025-08-04 16:08:17 +00:00
32093bf087 chore(deps): update node.js to 0d98a9f
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m11s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m1s
2025-08-04 13:05:24 +00:00
09e1ad32a0 chore(deps): update node.js to v22.18.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m4s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m51s
2025-08-04 10:05:49 +00:00
2783a83015 fix(deps): update module github.com/prometheus/client_golang to v1.23.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m39s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m42s
2025-07-31 11:06:56 +00:00
eb33bb51cc fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.30
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m42s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m25s
2025-07-30 13:07:14 +00:00
79980c0df3 fix(deps): update module github.com/a-h/templ to v0.3.924
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m31s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m34s
2025-07-26 16:06:19 +00:00
488d57d0d3 fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.29
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m49s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m30s
2025-07-24 14:06:50 +00:00
069e528e7e chore(deps): update node.js to 37ff334
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m33s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m22s
2025-07-24 07:06:20 +00:00
64d32706ab chore(deps): update golang:1.24.5 docker digest to ef5b4be
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m14s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m10s
2025-07-24 00:06:19 +00:00
d570f73aa1 chore(deps): update node.js to e515259
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m23s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m30s
2025-07-23 22:29:35 +00:00
a97de92b55 chore(deps): update golang:1.24.5 docker digest to a3bb6cd
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m32s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m4s
2025-07-23 21:47:50 +00:00
22ad7cd52d chore(deps): update golang:1.24.5 docker digest to fdcd2e5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m49s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m59s
2025-07-22 15:09:32 +00:00
4c68b58176 chore(deps): update node.js to 079b6a6
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m36s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m45s
2025-07-22 07:06:44 +00:00
180c3b0267 chore(deps): update golang:1.24.5 docker digest to a98400b
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m54s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m15s
2025-07-22 06:07:11 +00:00
3b0a08f84c chore(deps): update debian:12.11 docker digest to b6507e3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m0s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m40s
2025-07-22 04:06:46 +00:00
354fe8df43 fix(deps): update module github.com/a-h/templ to v0.3.920
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m51s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m30s
2025-07-20 19:07:22 +00:00
6d32821058 chore(deps): update node.js to 9e6918e
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m52s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m44s
2025-07-17 01:06:26 +00:00
e19e38efe5 chore(deps): update node.js to 414e20e
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m51s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m55s
2025-07-16 22:10:18 +00:00
56d25e0e51 chore(deps): update node.js to v22.17.1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m58s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m47s
2025-07-16 19:09:19 +00:00
4e790e51e7 fix(deps): update module golang.org/x/net to v0.42.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m46s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m35s
2025-07-10 20:07:04 +00:00
9ce7c8f37a fix(deps): update module golang.org/x/crypto to v0.40.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m40s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m38s
2025-07-10 18:07:40 +00:00
f356f525f9 chore(deps): update golang:1.24.5 docker digest to 14fd8a5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m29s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m57s
2025-07-09 21:05:52 +00:00
36ddf98c0f chore(deps): update golang docker tag to v1.24.5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m30s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m46s
2025-07-09 19:05:56 +00:00
59b4e332fe chore(deps): update dependency go to v1.24.5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m52s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m47s
2025-07-08 17:15:52 +00:00
dc78af68f9 chore(deps): update node.js to 2fa6c97
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m41s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m48s
2025-07-08 04:05:39 +00:00
15495c247e chore(deps): update node.js to 5307f5f
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m46s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m34s
2025-07-08 01:39:56 +00:00
799a20ceea chore(deps): update node.js to df39165
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m44s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m37s
2025-07-07 22:06:36 +00:00
67ce0a351a chore(deps): update golang:1.24.4 docker digest to 20a022e
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m21s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m12s
2025-07-02 12:05:21 +00:00
e3b3e4de7e chore(deps): update golang:1.24.4 docker digest to 764d7e0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m14s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m56s
2025-07-02 00:06:48 +00:00
478aebbbc6 chore(deps): update golang:1.24.4 docker digest to a92f3b1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m15s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m7s
2025-07-01 21:05:40 +00:00
f68d6c14b4 chore(deps): update golang:1.24.4 docker digest to 1aa97dd
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m14s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m51s
2025-07-01 18:05:40 +00:00
2dc02331d2 chore(deps): update golang:1.24.4 docker digest to 1bb140b
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m9s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m17s
2025-07-01 15:05:47 +00:00
d884b9066f chore(deps): update golang:1.24.4 docker digest to 270cd53
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m6s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m19s
2025-07-01 06:54:59 +00:00
dbd03c16b9 chore(deps): update debian:12.11 docker digest to d42b86d
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m4s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m18s
2025-07-01 04:06:33 +00:00
2bc8fd74a7 chore(deps): update node.js to v22.17.0
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m50s
2025-06-27 18:01:04 +00:00
69034228f2 fix(deps): update module github.com/a-h/templ to v0.3.906
Some checks failed
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled
2025-06-27 17:56:35 +00:00
800a13c558 chore(deps): update tailwindcss monorepo to v4.1.11
Some checks failed
Build Docker Image / Build-Docker-Image (push) Successful in 4m29s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled
2025-06-27 17:27:11 +00:00
45ad21080b chore(deps): update dependency htmx.org to v2.0.6
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m28s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m16s
2025-06-27 16:35:20 +00:00
43b994cba9 chore(deps): update dependency htmx.org to v2.0.5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m32s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m19s
2025-06-20 22:07:22 +00:00
6b971f666b chore(deps): update node.js to 71bcbb3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m36s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m51s
2025-06-12 10:09:36 +00:00
a96e833000 chore(deps): update golang:1.24.4 docker digest to 10c1318
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m29s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m34s
2025-06-12 09:05:46 +00:00
81b48d9bdb chore(deps): update node.js to 68cf33c
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m29s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m28s
2025-06-12 04:06:22 +00:00
60d39fe764 chore(deps): update node.js to 2040569
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m3s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m15s
2025-06-12 02:06:40 +00:00
95e3d10841 chore(deps): update golang:1.24.4 docker digest to 3178db8
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m23s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m30s
2025-06-12 00:07:00 +00:00
82f0b6ec94 chore(deps): update tailwindcss monorepo to v4.1.10
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m22s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m29s
2025-06-11 23:07:31 +00:00
c0775a5f2d chore(deps): update node.js to f627d0e
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m15s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m28s
2025-06-11 22:08:48 +00:00
6ec38f2f22 chore(deps): update golang:1.24.4 docker digest to 884849e
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m2s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m24s
2025-06-11 21:07:01 +00:00
4e55c6bf69 chore(deps): update tailwindcss monorepo to v4.1.9
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m5s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m23s
2025-06-11 16:07:46 +00:00
1ddb953c59 chore(deps): update golang:1.24.4 docker digest to dc3de88
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m56s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m29s
2025-06-11 15:07:21 +00:00
9c27d2ae8d chore(deps): update node.js to 6a2972b
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m29s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m48s
2025-06-11 04:10:49 +00:00
d5839a53b6 chore(deps): update golang:1.24.4 docker digest to d1db785
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 7m5s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m59s
2025-06-11 03:06:41 +00:00
612ac20731 chore(deps): update debian:12.11 docker digest to 0d8498a
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m8s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m20s
2025-06-11 02:18:12 +00:00
b05dd05a28 chore(deps): update golang:1.24.4 docker digest to 01f861b
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m31s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m29s
2025-06-11 00:06:00 +00:00
c61911c250 fix(deps): update module github.com/a-h/templ to v0.3.898
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m8s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m29s
2025-06-06 18:06:37 +00:00
e8ace5836a fix(deps): update module golang.org/x/net to v0.41.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m57s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m6s
2025-06-05 22:09:18 +00:00
3b0c80341d chore(deps): update golang docker tag to v1.24.4
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m10s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m18s
2025-06-05 21:08:22 +00:00
00c39436fc fix(deps): update module golang.org/x/crypto to v0.39.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m45s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m49s
2025-06-05 20:06:58 +00:00
6894b0d39c chore(deps): update dependency go to v1.24.4
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m49s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m27s
2025-06-05 19:06:29 +00:00
a416d829ff fix(deps): update module github.com/a-h/templ to v0.3.894
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m15s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m26s
2025-06-04 22:06:58 +00:00
c6a884619e fix(deps): update module github.com/a-h/templ to v0.3.887
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m19s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m5s
2025-05-31 21:07:44 +00:00
daa8b93cde chore(deps): update golang:1.24.3 docker digest to 81bf592
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m51s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m28s
2025-05-31 03:07:02 +00:00
6c634e49e8 chore(deps): update tailwindcss monorepo to v4.1.8
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m55s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m15s
2025-05-28 16:08:11 +00:00
f9a5f1e0fa chore(deps): update node.js to 0b5b940
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m28s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m37s
2025-05-24 14:08:29 +00:00
8de973be8b chore(deps): update golang:1.24.3 docker digest to 4c0a181
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m32s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m5s
2025-05-24 13:01:57 +00:00
2f47b4b91f chore(deps): update node.js to 74066d0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m16s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m57s
2025-05-22 10:08:03 +00:00
95df5979c3 chore(deps): update golang:1.24.3 docker digest to 02a2275
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 7m4s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m34s
2025-05-22 09:07:29 +00:00
6468ff7be9 chore(deps): update golang:1.24.3 docker digest to 1bcf884
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 8m14s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m9s
2025-05-22 03:16:15 +00:00
7ea56f2a40 chore(deps): update debian docker tag to v12.11
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m36s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m21s
2025-05-22 02:08:28 +00:00
29da9fd893 chore(deps): update node.js to 6e62aab
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m44s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m45s
2025-05-22 01:20:20 +00:00
183039a261 chore(deps): update node.js to v22.16.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 7m36s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m39s
2025-05-21 22:09:24 +00:00
725e34ad1c chore(deps): update node.js to e558507
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m33s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m33s
2025-05-16 02:10:47 +00:00
ca06ef7f5b chore(deps): update node.js to v22.15.1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m38s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m43s
2025-05-15 22:11:37 +00:00
0021527004 chore(deps): update tailwindcss monorepo to v4.1.7
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m21s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m31s
2025-05-15 15:07:59 +00:00
6d2da1d1ea chore(deps): update golang:1.24.3 docker digest to 86b4cff
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m35s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m22s
2025-05-15 00:07:12 +00:00
3ceceb51f5 chore(deps): update tailwindcss monorepo to v4.1.6
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m36s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m34s
2025-05-09 14:08:15 +00:00
680c717745 chore(deps): update golang docker tag to v1.24.3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m53s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m41s
2025-05-06 22:09:10 +00:00
f269fa4fc9 chore(deps): update dependency go to v1.24.3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m41s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m40s
2025-05-06 21:08:35 +00:00
5fae3242de fix(deps): update module golang.org/x/net to v0.40.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m54s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m3s
2025-05-05 21:08:40 +00:00
2e3a7d0c8a fix(deps): update module golang.org/x/crypto to v0.38.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m57s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m19s
2025-05-05 20:07:58 +00:00
e9c36be023 fix(deps): update module github.com/a-h/templ to v0.3.865
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m23s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m24s
2025-05-02 08:10:34 +00:00
ba3cd45e4a chore(deps): update tailwindcss monorepo to v4.1.5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m7s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m28s
2025-04-30 16:10:12 +00:00
11b91add7e chore(deps): update node.js to a1f1274
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m27s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m13s
2025-04-30 10:09:01 +00:00
b4edbcf505 chore(deps): update golang:1.24.2 docker digest to 30baaea
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m24s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m39s
2025-04-30 06:07:27 +00:00
5b4bc21f2c chore(deps): update node.js to c9397a5
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m20s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m5s
2025-04-29 22:08:06 +00:00
b7c4393663 chore(deps): update golang:1.24.2 docker digest to 3a060d6
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m35s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m26s
2025-04-29 18:07:09 +00:00
39c0be5697 chore(deps): update node.js to f57e74d
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m32s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m44s
2025-04-29 16:06:55 +00:00
86aed80f31 chore(deps): update node.js to 012715b
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m27s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m21s
2025-04-29 13:07:32 +00:00
9ce77301e1 chore(deps): update golang:1.24.2 docker digest to f52b85c
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m30s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m28s
2025-04-29 12:07:01 +00:00
990a310c3a chore(deps): update golang:1.24.2 docker digest to 065cb8c
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m57s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m37s
2025-04-29 09:09:40 +00:00
d7a98b10fe chore(deps): update golang:1.24.2 docker digest to 8131d99
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m9s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m9s
2025-04-29 05:07:44 +00:00
30501b72c2 chore(deps): update node.js to 120a74c
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m19s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m11s
2025-04-29 04:08:12 +00:00
68adbf7216 chore(deps): update debian:12.10 docker digest to 264982f
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 7m50s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m9s
2025-04-29 02:07:06 +00:00
e245bc99ec fix(deps): update module github.com/golang-migrate/migrate/v4 to v4.18.3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m16s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m22s
2025-04-24 05:08:14 +00:00
58f70ac285 chore(deps): update node.js to 473b436
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m8s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m17s
2025-04-23 19:07:36 +00:00
c3fd33fd6b chore(deps): update node.js to v22.15.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m23s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m24s
2025-04-23 16:10:58 +00:00
be22d1f14d chore(deps): update golang:1.24.2 docker digest to d9db321
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m21s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m55s
2025-04-18 06:07:41 +00:00
430843e29e fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.28
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m49s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m8s
2025-04-16 14:08:31 +00:00
fbb2382bf1 chore(deps): update tailwindcss monorepo to v4.1.4
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m44s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m45s
2025-04-14 18:08:54 +00:00
dfe3bb9319 chore(deps): update golang:1.24.2 docker digest to 1ecc479
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m0s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m46s
2025-04-10 21:06:46 +00:00
129ca3c970 chore(deps): update golang:1.24.2 docker digest to 18a1f2d
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m16s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m24s
2025-04-09 21:06:59 +00:00
f4621eafa2 chore(deps): update golang:1.24.2 docker digest to 1ecc479
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m39s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m46s
2025-04-09 12:10:17 +00:00
404f00de45 chore(deps): update golang:1.24.2 docker digest to 227d106
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m26s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m46s
2025-04-09 06:07:55 +00:00
be01691ecc chore(deps): update node.js to e5ddf89
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m20s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m39s
2025-04-09 04:07:31 +00:00
71d1ee4df6 chore(deps): update golang:1.24.2 docker digest to c0b66cf
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m26s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m40s
2025-04-09 00:07:17 +00:00
a9d948261a chore(deps): update node.js to 4a126f3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m33s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m45s
2025-04-08 19:07:40 +00:00
858394672d chore(deps): update golang:1.24.2 docker digest to fb224f9
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m29s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m30s
2025-04-08 18:10:46 +00:00
09943c12b2 chore(deps): update node.js to cb930e4
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m40s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m41s
2025-04-08 16:07:12 +00:00
ae309f4cd1 chore(deps): update golang:1.24.2 docker digest to b51b7be
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m33s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m41s
2025-04-08 12:07:13 +00:00
1a4660f954 fix(deps): update module github.com/prometheus/client_golang to v1.22.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m57s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m32s
2025-04-08 10:09:02 +00:00
ff0c16a9d3 chore(deps): update golang:1.24.2 docker digest to 37b19a8
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 9m46s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m44s
2025-04-08 09:08:13 +00:00
f519383e70 chore(deps): update node.js to 89b8653
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m46s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m42s
2025-04-08 07:07:40 +00:00
517ba5b632 chore(deps): update golang:1.24.2 docker digest to b665273
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 7m20s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m42s
2025-04-08 06:07:46 +00:00
f780a495a2 chore(deps): update debian:12.10 docker digest to 00cd074
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m6s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m17s
2025-04-08 04:08:00 +00:00
e6cda6ce14 fix(deps): update module golang.org/x/net to v0.39.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m37s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m51s
2025-04-07 22:07:53 +00:00
9f54d47e2f fix(deps): update module golang.org/x/crypto to v0.37.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m44s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m32s
2025-04-06 17:07:31 +00:00
111410856a chore(deps): update tailwindcss monorepo to v4.1.3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m32s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 6m2s
2025-04-04 19:24:44 +00:00
a42cb74355 chore(deps): update tailwindcss monorepo to v4.1.2
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m46s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m36s
2025-04-03 18:07:27 +00:00
29b96a3fff fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.27
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m48s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m46s
2025-04-02 17:08:20 +00:00
05e6deeedd chore(deps): update tailwindcss monorepo to v4.1.1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m17s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m36s
2025-04-02 10:08:57 +00:00
1f8e1a510f fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.26
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m40s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m33s
2025-04-02 09:08:10 +00:00
46b1f9d867 chore(deps): update tailwindcss monorepo to v4.1.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m32s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m49s
2025-04-01 19:11:17 +00:00
d9eddeed97 chore(deps): update golang docker tag to v1.24.2
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 8m1s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m49s
2025-04-01 18:08:17 +00:00
5345093d50 chore(deps): update dependency go to v1.24.2
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m36s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m51s
2025-04-01 17:07:37 +00:00
b81d156181 fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.25
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m25s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m37s
2025-04-01 14:07:31 +00:00
1f52a959f2 fix(deps): update module golang.org/x/net to v0.38.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m45s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 8m17s
2025-03-30 00:10:40 +00:00
d6aa5c08a2 fix(deps): update module github.com/a-h/templ to v0.3.857
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m37s
2025-03-28 20:14:44 +00:00
7feaa0286b chore(deps): update tailwindcss monorepo to v4.0.17
Some checks failed
Build Docker Image / Build-Docker-Image (push) Successful in 4m18s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled
2025-03-28 00:11:25 +00:00
dce993322b fix(deps): update module github.com/a-h/templ to v0.3.856
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m50s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m34s
2025-03-24 00:10:56 +00:00
873dbd00be chore(deps): update tailwindcss monorepo to v4.0.15
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m48s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m36s
2025-03-21 00:08:25 +00:00
e29b31f25e chore(deps): update debian docker tag to v12.10
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m20s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m0s
2025-03-20 11:41:17 +00:00
9534954bcb chore(deps): update node.js to c7fd844
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m8s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m45s
2025-03-20 08:20:55 +00:00
8ae8de3a03 chore(deps): update golang:1.24.1 docker digest to 52ff1b3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m18s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m30s
2025-03-20 00:10:14 +00:00
db8834f9eb chore(deps): update golang:1.24.1 docker digest to fa145a3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m59s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m13s
2025-03-15 00:06:52 +00:00
348082ad96 chore(deps): update tailwindcss monorepo to v4.0.14
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m9s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m54s
2025-03-14 22:27:01 +00:00
b7cd0c5997 chore(deps): update tailwindcss monorepo to v4.0.12
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m6s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m41s
2025-03-08 00:11:05 +00:00
fbb20bada4 fix(deps): update module golang.org/x/net to v0.37.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m26s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m35s
2025-03-07 00:10:32 +00:00
da82680270 fix(deps): update module golang.org/x/crypto to v0.36.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m23s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m50s
2025-03-06 00:10:47 +00:00
1168cb5c9f fix(deps): update module golang.org/x/net to v0.36.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m52s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m4s
2025-03-05 10:00:16 +00:00
b165e29e45 fix(deps): update module github.com/prometheus/client_golang to v1.21.1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m53s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m1s
2025-03-05 09:40:58 +00:00
81ec91a73f chore(deps): update golang docker tag to v1.24.1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m35s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m53s
2025-03-05 09:06:47 +00:00
8f14b93817 chore(deps): update dependency go to v1.24.1
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m3s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m51s
2025-03-05 00:09:17 +00:00
02fc5f9baa fix(deps): update module golang.org/x/crypto to v0.35.0
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m32s
2025-03-04 13:23:59 +00:00
27b87dcc12 chore(deps): update dependency go to v1.24.0
Some checks are pending
Build Docker Image / Build-Docker-Image (push) Successful in 3m10s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Waiting to run
2025-03-04 12:44:41 +00:00
ef4e314475 chore(deps): pin golang docker tag to 3f74443
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m38s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m51s
2025-03-04 11:42:42 +00:00
a6794cdfed feat(deps): update go compiler to 1.24
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m35s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m16s
2025-03-04 12:17:17 +01:00
38b3ad9326 fix(deps): update module golang.org/x/net to v0.35.0
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m4s
2025-03-03 10:02:17 +00:00
a6f5710521 chore(deps): update node.js to v22.14.0
Some checks failed
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled
2025-03-03 09:59:59 +00:00
cb0252e1af chore(deps): update tailwindcss monorepo to v4.0.9
Some checks failed
Build Docker Image / Build-Docker-Image (push) Successful in 2m48s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled
2025-03-03 00:06:37 +00:00
f2937a762e chore(deps): update debian:12.9 docker digest to 3528682
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m12s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m28s
2025-03-02 18:24:21 +00:00
60daac48b4 fix(deps): update module github.com/prometheus/client_golang to v1.21.0
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 11m2s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m24s
2025-02-24 18:28:38 +00:00
b2a655f73a chore(deps): update tailwindcss monorepo to v4.0.8
Some checks failed
Build Docker Image / Build-Docker-Image (push) Successful in 9m58s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Failing after 10m23s
2025-02-24 16:18:54 +00:00
663081d719 chore(deps): update node.js to 5145c88
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m28s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m39s
2025-02-24 12:34:43 +00:00
28460a6bac fix: make tests more resilient
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m15s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 8m28s
2025-02-24 12:58:48 +01:00
3039d66295 feat(docs): update readme
Some checks failed
Build Docker Image / Build-Docker-Image (push) Successful in 2m54s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Failing after 2m16s
2025-02-23 21:46:31 +01:00
9b96e8f0a5 chore(deps): update debian:12.9 docker digest to 4abf773
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 3m6s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m58s
2025-02-11 14:09:06 +00:00
b86b737a82 chore(deps): update golang:1.23.5 docker digest to e213430
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m58s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m14s
2025-02-09 00:11:23 +00:00
f2951985c2 fix(deps): migrate tailwindcss to v4 and remove daisyui
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 2m37s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m47s
2025-02-03 23:18:51 +01:00
17 changed files with 1270 additions and 1423 deletions

View File

@@ -1,6 +1,6 @@
FROM golang:1.23.5@sha256:8c10f21bec412f08f73aa7b97ca5ac5f28a39d8a88030ad8a339fd0a781d72b4 AS builder_go FROM golang:1.24.5@sha256:ef5b4be1f94b36c90385abd9b6b4f201723ae28e71acacb76d00687333c17282 AS builder_go
WORKDIR /web-app-template WORKDIR /web-app-template
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2 RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
RUN go install github.com/a-h/templ/cmd/templ@latest RUN go install github.com/a-h/templ/cmd/templ@latest
RUN go install github.com/vektra/mockery/v2@latest RUN go install github.com/vektra/mockery/v2@latest
COPY go.mod go.sum ./ COPY go.mod go.sum ./
@@ -13,7 +13,7 @@ RUN golangci-lint run ./...
RUN go build -o /web-app-template/web-app-template . RUN go build -o /web-app-template/web-app-template .
FROM node:22.13.1@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd AS builder_node FROM node:22.18.0@sha256:3218f0d1b9e4b63def322e9ae362d581fbeac1ef21b51fc502ef91386667ce92 AS builder_node
WORKDIR /web-app-template WORKDIR /web-app-template
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm clean-install RUN npm clean-install
@@ -21,7 +21,7 @@ COPY . ./
RUN npm run build RUN npm run build
FROM debian:12.9@sha256:321341744acb788e251ebd374aecc1a42d60ce65da7bd4ee9207ff6be6686a62 FROM debian:12.11@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba
WORKDIR /web-app-template WORKDIR /web-app-template
RUN apt-get update && apt-get install -y ca-certificates && echo "" > .env RUN apt-get update && apt-get install -y ca-certificates && echo "" > .env
COPY migration ./migration COPY migration ./migration

View File

@@ -7,11 +7,11 @@ A basic template with authentication to easily host on a VPC.
This template includes everything essential to build an app. It includes the following features: This template includes everything essential to build an app. It includes the following features:
- Authentication: Users can login, logout, register and reset their password. For increased security TOTP is available aswell. - Authentication: Users can login, logout, register and reset their password. (for increased security TOTP is planned aswell.)
- Observability: The stack contains an Grafana+Prometheus instance for basic monitoring. You are able to add alerts and get notified on your phone. - Observability: The stack contains an Grafana+Prometheus instance for basic monitoring. You are able to add alerts and get notified on your phone.
- Mail: You are able to send mail with SMTP. You still need an external Mail Server, but a guide on how to set that up with a custom domain is included. - Mail: You are able to send mail with SMTP. You still need an external Mail Server, but a guide on how to set that up with a custom domain is included.
- SSL: This is included by using traefik as reverse proxy. It handles SSL certificates automatically. Furthermore all services are accessible through subdomains. Best thing is, you can add your more with 3 lines of code - SSL: This is included by using traefik as reverse proxy. It handles SSL certificates automatically. Furthermore all services are accessible through subdomains.
- Actual Stack: Tailwindcss + HTMX + DaisyUI + GO Backend with templ and sqlite - Stack: Tailwindcss + HTMX + GO Backend with templ and sqlite
## Architecture Design Decisions ## Architecture Design Decisions
@@ -51,13 +51,13 @@ Instead of implementing authentication from scratch, an external OAuth2 provider
Pros: Pros:
- The Systems of BigTech are probably safer. They have security experts employed. - The Systems of BigTech are probably safer. They have security experts employed.
- The other external system needs to prevent credential stuffing attacks, etc. - The other external system is responsible to prevent credential stuffing attacks, etc.
- Users don't have to create new credentials - Users don't have to create new credentials
Cons: Cons:
- High dependency on those providers - High dependency on those providers
- Single Point of failure (If your account is banned, your application access get's lost as well) - Single Point of failure (If your account is banned, your application access get's lost as well.)
- It's possible that these providers ban the whole application - It's possible that these providers ban the whole application (All users lose access)
- There still needs to be implemented some logic server side - There still needs to be implemented some logic
- Full application integration can be difficult - Full application integration can be difficult
#### 3. Using OAuth2 with Keycloak #### 3. Using OAuth2 with Keycloak

27
go.mod
View File

@@ -1,19 +1,19 @@
module web-app-template module web-app-template
go 1.23 go 1.23.0
toolchain go1.23.5 toolchain go1.24.6
require ( require (
github.com/a-h/templ v0.3.833 github.com/a-h/templ v0.3.924
github.com/golang-migrate/migrate/v4 v4.18.2 github.com/golang-migrate/migrate/v4 v4.18.3
github.com/google/uuid v1.6.0 github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1 github.com/joho/godotenv v1.5.1
github.com/mattn/go-sqlite3 v1.14.24 github.com/mattn/go-sqlite3 v1.14.30
github.com/prometheus/client_golang v1.20.5 github.com/prometheus/client_golang v1.23.0
github.com/stretchr/testify v1.10.0 github.com/stretchr/testify v1.10.0
golang.org/x/crypto v0.32.0 golang.org/x/crypto v0.40.0
golang.org/x/net v0.34.0 golang.org/x/net v0.42.0
) )
require ( require (
@@ -22,15 +22,14 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/common v0.65.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect github.com/prometheus/procfs v0.16.1 // indirect
github.com/stretchr/objx v0.5.2 // indirect github.com/stretchr/objx v0.5.2 // indirect
go.uber.org/atomic v1.11.0 // indirect go.uber.org/atomic v1.11.0 // indirect
golang.org/x/sys v0.29.0 // indirect golang.org/x/sys v0.34.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )

54
go.sum
View File

@@ -1,15 +1,15 @@
github.com/a-h/templ v0.3.833 h1:L/KOk/0VvVTBegtE0fp2RJQiBm7/52Zxv5fqlEHiQUU= github.com/a-h/templ v0.3.924 h1:t5gZqTneXqvehpNZsgtnlOscnBboNh9aASBH2MgV/0k=
github.com/a-h/templ v0.3.833/go.mod h1:cAu4AiZhtJfBjMY0HASlyzvkrtjnHWPeEsyGK2YYmfk= github.com/a-h/templ v0.3.924/go.mod h1:FFAu4dI//ESmEN7PQkJ7E7QfnSEMdcnu7QrAY8Dn334=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/golang-migrate/migrate/v4 v4.18.2 h1:2VSCMz7x7mjyTXx3m2zPokOY82LTRgxK1yQYKo6wWQ8= github.com/golang-migrate/migrate/v4 v4.18.3 h1:EYGkoOsvgHHfm5U/naS1RP/6PL/Xv3S4B/swMiAmDLs=
github.com/golang-migrate/migrate/v4 v4.18.2/go.mod h1:2CM6tJvn2kqPXwnXO/d3rAQYiyoIm180VsO8PRX6Rpk= github.com/golang-migrate/migrate/v4 v4.18.3/go.mod h1:99BKpIi6ruaaXRM1A77eqZ+FWPQ3cfRa+ZVy5bmWMaY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
@@ -19,8 +19,8 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
@@ -29,20 +29,20 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/mattn/go-sqlite3 v1.14.24 h1:tpSp2G2KyMnnQu99ngJ47EIkWVmliIizyZBfPrBWDRM= github.com/mattn/go-sqlite3 v1.14.30 h1:bVreufq3EAIG1Quvws73du3/QgdeZ3myglJlrzSYYCY=
github.com/mattn/go-sqlite3 v1.14.24/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/mattn/go-sqlite3 v1.14.30/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+bR9r+8l63Y= github.com/prometheus/client_golang v1.23.0 h1:ust4zpdl9r4trLY/gSjlm07PuiBq2ynaXXlptpfy8Uc=
github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_golang v1.23.0/go.mod h1:i/o0R9ByOnHX0McrTMTyhYvKE4haaf2mW08I+jGAjEE=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G1dc= github.com/prometheus/common v0.65.0 h1:QDwzd+G1twt//Kwj/Ww6E9FQq1iVMmODnILtW1t2VzE=
github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= github.com/prometheus/common v0.65.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8=
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg=
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
@@ -51,14 +51,16 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0= golang.org/x/crypto v0.40.0 h1:r4x+VvoG5Fm+eJcxMaY8CQM7Lb0l1lsmjGBQ6s8BfKM=
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+ZdxY=
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

18
input.css Normal file
View File

@@ -0,0 +1,18 @@
@import 'tailwindcss';
@source './static/**/*.js';
@source './template/**/*.templ';
@theme {
--animate-fade: fadeOut 0.25s ease-in;
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
}

View File

@@ -333,7 +333,7 @@ func TestIntegrationAuth(t *testing.T) {
resp, err = httpClient.Do(req) resp, err = httpClient.Do(req)
timeEnd := time.Now() timeEnd := time.Now()
assert.Nil(t, err) assert.Nil(t, err)
if timeEnd.Sub(timeStart) > 253*time.Millisecond || timeEnd.Sub(timeStart) <= 250*time.Millisecond { if timeEnd.Sub(timeStart) > 260*time.Millisecond || timeEnd.Sub(timeStart) <= 250*time.Millisecond {
t.Fail() t.Fail()
t.Logf("Time did not match: %v", timeEnd.Sub(timeStart)) t.Logf("Time did not match: %v", timeEnd.Sub(timeStart))
} }
@@ -367,7 +367,7 @@ func TestIntegrationAuth(t *testing.T) {
resp, err = httpClient.Do(req) resp, err = httpClient.Do(req)
timeEnd = time.Now() timeEnd = time.Now()
assert.Nil(t, err) assert.Nil(t, err)
if timeEnd.Sub(timeStart) > 253*time.Millisecond || timeEnd.Sub(timeStart) <= 250*time.Millisecond { if timeEnd.Sub(timeStart) > 260*time.Millisecond || timeEnd.Sub(timeStart) <= 250*time.Millisecond {
t.Fail() t.Fail()
t.Logf("Time did not match: %v", timeEnd.Sub(timeStart)) t.Logf("Time did not match: %v", timeEnd.Sub(timeStart))
} }
@@ -401,7 +401,7 @@ func TestIntegrationAuth(t *testing.T) {
resp, err = httpClient.Do(req) resp, err = httpClient.Do(req)
timeEnd = time.Now() timeEnd = time.Now()
assert.Nil(t, err) assert.Nil(t, err)
if timeEnd.Sub(timeStart) > 253*time.Millisecond || timeEnd.Sub(timeStart) <= 250*time.Millisecond { if timeEnd.Sub(timeStart) > 260*time.Millisecond || timeEnd.Sub(timeStart) <= 250*time.Millisecond {
t.Fail() t.Fail()
t.Logf("Time did not match: %v", timeEnd.Sub(timeStart)) t.Logf("Time did not match: %v", timeEnd.Sub(timeStart))
} }
@@ -571,7 +571,7 @@ func TestIntegrationAuth(t *testing.T) {
timeEnd := time.Now() timeEnd := time.Now()
assert.Nil(t, err) assert.Nil(t, err)
timeTaken := timeEnd.Sub(timeStart) timeTaken := timeEnd.Sub(timeStart)
assert.LessOrEqual(t, timeTaken, 253*time.Millisecond) assert.LessOrEqual(t, timeTaken, 260*time.Millisecond)
assert.GreaterOrEqual(t, timeTaken, 250*time.Millisecond) assert.GreaterOrEqual(t, timeTaken, 250*time.Millisecond)
assert.Equal(t, http.StatusOK, resp.StatusCode) assert.Equal(t, http.StatusOK, resp.StatusCode)
@@ -608,7 +608,7 @@ func TestIntegrationAuth(t *testing.T) {
timeEnd := time.Now() timeEnd := time.Now()
assert.Nil(t, err) assert.Nil(t, err)
timeTaken := timeEnd.Sub(timeStart) timeTaken := timeEnd.Sub(timeStart)
assert.LessOrEqual(t, timeTaken, 253*time.Millisecond) assert.LessOrEqual(t, timeTaken, 260*time.Millisecond)
assert.GreaterOrEqual(t, timeTaken, 250*time.Millisecond) assert.GreaterOrEqual(t, timeTaken, 250*time.Millisecond)
assert.Equal(t, http.StatusOK, resp.StatusCode) assert.Equal(t, http.StatusOK, resp.StatusCode)

2189
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,16 +4,15 @@
"description": "Your (almost) independent tech stack to host on a VPC.", "description": "Your (almost) independent tech stack to host on a VPC.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "mkdir -p static/js && cp -f node_modules/htmx.org/dist/htmx.min.js static/js/htmx.min.js && tailwindcss build -o static/css/tailwind.css --minify", "build": "mkdir -p static/js && cp -f node_modules/htmx.org/dist/htmx.min.js static/js/htmx.min.js && tailwindcss -i input.css -o static/css/tailwind.css --minify",
"watch": "mkdir -p static/js && cp -f node_modules/htmx.org/dist/htmx.min.js static/js/htmx.min.js && tailwindcss build -o static/css/tailwind.css --watch", "watch": "mkdir -p static/js && cp -f node_modules/htmx.org/dist/htmx.min.js static/js/htmx.min.js && tailwindcss -i input.css -o static/css/tailwind.css --watch"
"test": ""
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"htmx.org": "2.0.4", "htmx.org": "2.0.6",
"tailwindcss": "3.4.17", "tailwindcss": "4.1.11",
"daisyui": "4.12.23" "@tailwindcss/cli": "4.1.11"
} }
} }

View File

@@ -1,26 +0,0 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./template/**/*.templ", "./static/**/*.js"],
theme: {
extend: {
animation: {
fade: 'fadeOut 0.25s ease-in',
},
keyframes: _ => ({
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
}),
},
},
plugins: [
require('daisyui'),
],
daisyui: {
themes: ["retro"],
},
}

View File

@@ -12,7 +12,7 @@ templ DeleteAccountComp() {
<p class="text-xl text-red-500 mb-4"> <p class="text-xl text-red-500 mb-4">
Are you sure you want to delete your account? This action is irreversible. Are you sure you want to delete your account? This action is irreversible.
</p> </p>
<label class="input input-bordered flex items-center gap-2"> <label class="flex items-center gap-2">
<input <input
type="password" type="password"
class="grow" class="grow"
@@ -24,7 +24,7 @@ templ DeleteAccountComp() {
autocapitalize="off" autocapitalize="off"
/> />
</label> </label>
<button class="btn btn-error self-end"> <button class="self-end">
Delete Account Delete Account
</button> </button>
</form> </form>

View File

@@ -3,7 +3,7 @@ package auth
templ UserComp(user string) { templ UserComp(user string) {
<div id="user-info" class="flex gap-5 items-center"> <div id="user-info" class="flex gap-5 items-center">
if user != "" { if user != "" {
<div class="group inline-block relative"> <div class="inline-block relative">
<button class="font-semibold py-2 px-4 inline-flex items-center"> <button class="font-semibold py-2 px-4 inline-flex items-center">
<span class="mr-1">{ user }</span> <span class="mr-1">{ user }</span>
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
@@ -11,20 +11,20 @@ templ UserComp(user string) {
</svg> </svg>
</button> </button>
<div class="absolute hidden group-hover:block w-full"> <div class="absolute hidden group-hover:block w-full">
<ul class="menu bg-base-300 rounded-box w-fit float-right mr-4 p-3"> <ul class="w-fit float-right mr-4 p-3">
<li class="mb-1"> <li class="mb-1">
<a hx-post="/api/auth/signout" hx-target="#user-info">Sign Out</a> <a hx-post="/api/auth/signout" hx-target="#user-info">Sign Out</a>
</li> </li>
<li class="mb-1"> <li class="mb-1">
<a href="/auth/change-password">Change Password</a> <a href="/auth/change-password">Change Password</a>
</li> </li>
<li><a href="/auth/delete-account" class="text-error">Delete Account</a></li> <li><a href="/auth/delete-account" class="">Delete Account</a></li>
</ul> </ul>
</div> </div>
</div> </div>
} else { } else {
<a href="/auth/signup" class="btn btn-sm">Sign Up</a> <a href="/auth/signup" class="">Sign Up</a>
<a href="/auth/signin" class="btn btn-sm">Sign In</a> <a href="/auth/signin" class="">Sign In</a>
} }
</div> </div>
} }

View File

@@ -12,7 +12,7 @@ templ VerifyComp() {
<p class="text-lg text-center"> <p class="text-lg text-center">
Please check your inbox/spam and click on the link to verify your account. Please check your inbox/spam and click on the link to verify your account.
</p> </p>
<button class="btn mt-8" hx-get="/api/auth/verify-resend" hx-sync="this:drop" hx-swap="outerHTML"> <button class="mt-8" hx-get="/api/auth/verify-resend" hx-sync="this:drop" hx-swap="outerHTML">
resend verification email resend verification email
</button> </button>
</div> </div>

View File

@@ -10,7 +10,7 @@ templ VerifyResponseComp(isVerified bool) {
<p class="text-lg text-center"> <p class="text-lg text-center">
You have completed the verification process. Thank you! You have completed the verification process. Thank you!
</p> </p>
<a class="btn btn-primary mt-8" href="/"> <a class="mt-8" href="/">
Go Home Go Home
</a> </a>
} else { } else {
@@ -20,7 +20,7 @@ templ VerifyResponseComp(isVerified bool) {
<p class="text-lg text-center"> <p class="text-lg text-center">
Please try again by sign up process Please try again by sign up process
</p> </p>
<a class="btn btn-primary mt-8" href="/auth/signup"> <a class="mt-8" href="/auth/signup">
Sign Up Sign Up
</a> </a>
} }

View File

@@ -1,15 +1,15 @@
package template package template
templ Index() { templ Index() {
<div class="hero bg-base-200 h-full"> <div class="h-full">
<div class="hero-content text-center"> <div class="text-center">
<div class="max-w-md"> <div class="max-w-md">
<h1 class="text-5xl font-bold">Next Level Workout Tracker</h1> <h1 class="text-5xl font-bold">Next Level Workout Tracker</h1>
<p class="py-6"> <p class="py-6">
Ever wanted to track your workouts and see your progress over time? web-app-template is the perfect Ever wanted to track your workouts and see your progress over time? web-app-template is the perfect
solution for you. solution for you.
</p> </p>
<a href="/workout" class="btn btn-primary">Get Started</a> <a href="/workout" class="">Get Started</a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -3,25 +3,26 @@ package template
templ Layout(slot templ.Component, user templ.Component) { templ Layout(slot templ.Component, user templ.Component) {
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>web-app-template</title> <title>web-app-template</title>
<link rel="icon" href="/static/favicon.svg"/> <link rel="icon" href="/static/favicon.svg"/>
<link rel="stylesheet" href="/static/css/tailwind.css"/> <link rel="stylesheet" href="/static/css/tailwind.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="htmx-config" content='{ <meta
name="htmx-config"
content='{
"includeIndicatorStyles": false, "includeIndicatorStyles": false,
"selfRequestsOnly": true, "selfRequestsOnly": true,
"allowScriptTags": false "allowScriptTags": false
}' /> }'
/>
<script src="/static/js/htmx.min.js"></script> <script src="/static/js/htmx.min.js"></script>
<script src="/static/js/toast.js"></script> <script src="/static/js/toast.js"></script>
</head> </head>
<body hx-headers='{"csrf-token": "CSRF_TOKEN"}'> <body hx-headers='{"csrf-token": "CSRF_TOKEN"}'>
<div class="h-screen flex flex-col"> <div class="h-screen flex flex-col">
<div class="flex justify-end items-center gap-2 py-1 px-2 h-12 md:gap-10 md:px-10 md:py-2 shadow"> <div class="flex justify-end items-center gap-2 py-1 px-2 h-12 md:gap-10 md:px-10 md:py-2 shadow-sm">
<a href="/" class="flex-1 flex gap-2"> <a href="/" class="flex-1 flex gap-2">
<img src="/static/favicon.svg" alt="web-app-template logo"/> <img src="/static/favicon.svg" alt="web-app-template logo"/>
<span>web-app-template</span> <span>web-app-template</span>
@@ -34,12 +35,11 @@ templ Layout(slot templ.Component, user templ.Component) {
} }
</div> </div>
</div> </div>
<div class="toast" id="toasts"> <div class="" id="toasts">
<div class="hidden alert" id="toast"> <div class="hidden" id="toast">
New message arrived. New message arrived.
</div> </div>
</div> </div>
</body> </body>
</html> </html>
} }

View File

@@ -2,10 +2,10 @@ package template
templ NotFound() { templ NotFound() {
<main class="flex h-full justify-center items-center"> <main class="flex h-full justify-center items-center">
<div class="bg-error p-16 rounded-lg"> <div class="p-16 rounded-lg">
<h1 class="text-4xl text-error-content mb-5">Not Found</h1> <h1 class="text-4xl mb-5">Not Found</h1>
<p class="text-lg text-error-content mb-5">The page you are looking for does not exist.</p> <p class="text-lg mb-5">The page you are looking for does not exist.</p>
<a href="/" class="btn btn-lg btn-primary">Go back to home</a> <a href="/" class="">Go back to home</a>
</div> </div>
</main> </main>
} }

View File

@@ -2,17 +2,21 @@ package workout
templ WorkoutComp(currentDate string) { templ WorkoutComp(currentDate string) {
<main class="mx-2"> <main class="mx-2">
<form class="max-w-xl mx-auto flex flex-col gap-4 justify-center mt-10" hx-post="/api/workout" <form
hx-target="#workout-placeholder" hx-swap="outerHTML"> class="max-w-xl mx-auto flex flex-col gap-4 justify-center mt-10"
hx-post="/api/workout"
hx-target="#workout-placeholder"
hx-swap="outerHTML"
>
<h2 class="text-4xl mb-8">Track your workout</h2> <h2 class="text-4xl mb-8">Track your workout</h2>
<input id="date" type="date" class="input input-bordered" value={ currentDate } name="date" /> <input id="date" type="date" class="" value={ currentDate } name="date"/>
<select class="select select-bordered w-full" name="type"> <select class="w-full" name="type">
<option>Push Ups</option> <option>Push Ups</option>
<option>Pull Ups</option> <option>Pull Ups</option>
</select> </select>
<input type="number" class="input input-bordered" placeholder="Sets" name="sets" /> <input type="number" class="" placeholder="Sets" name="sets"/>
<input type="number" class="input input-bordered" placeholder="Reps" name="reps" /> <input type="number" class="" placeholder="Reps" name="reps"/>
<button class="btn btn-primary self-end">Save</button> <button class="self-end">Save</button>
</form> </form>
<div hx-get="/api/workout" hx-trigger="load"></div> <div hx-get="/api/workout" hx-trigger="load"></div>
</main> </main>
@@ -27,7 +31,7 @@ Reps string
} }
templ WorkoutListComp(workouts []Workout) { templ WorkoutListComp(workouts []Workout) {
<div class="overflow-x-auto mx-auto max-w-screen-lg"> <div class="overflow-x-auto mx-auto max-w-lg">
<h2 class="text-4xl mt-14 mb-8">Workout history</h2> <h2 class="text-4xl mt-14 mb-8">Workout history</h2>
<table class="table table-auto max-w-full"> <table class="table table-auto max-w-full">
<thead> <thead>