feat(backend): bcrypt+jwt auth package and admin seeding

This commit is contained in:
2026-09-04 23:50:52 +08:00
parent c1761d0f3e
commit b224288dae
6 changed files with 168 additions and 1 deletions
+2 -1
View File
@@ -4,7 +4,9 @@ go 1.26.0
require (
github.com/gin-gonic/gin v1.12.0
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/jackc/pgx/v5 v5.10.0
golang.org/x/crypto v0.56.0
)
require (
@@ -35,7 +37,6 @@ require (
github.com/ugorji/go/codec v1.3.1 // indirect
go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect
golang.org/x/arch v0.22.0 // indirect
golang.org/x/crypto v0.56.0 // indirect
golang.org/x/net v0.57.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/sys v0.47.0 // indirect