- POST /api/v1/auth/register with mandatory consents
- POST /api/v1/auth/login
- GET /api/v1/me (protected)
- GET /api/v1/legal/{terms,privacy,disclaimer}
- Migrations for users, consent_log, audit_log
- bcrypt + JWT (access + refresh)
- Docker Compose stack
16 lines
369 B
Modula-2
16 lines
369 B
Modula-2
module github.com/buhapp/backend
|
|
|
|
go 1.22
|
|
|
|
require (
|
|
github.com/gofiber/fiber/v2 v2.52.5
|
|
github.com/gofiber/contrib/jwt v1.0.10
|
|
github.com/golang-jwt/jwt/v5 v5.2.1
|
|
github.com/google/uuid v1.6.0
|
|
github.com/jackc/pgx/v5 v5.7.1
|
|
github.com/joho/godotenv v1.5.1
|
|
github.com/minio/minio-go/v7 v7.0.77
|
|
github.com/redis/go-redis/v9 v9.7.0
|
|
golang.org/x/crypto v0.27.0
|
|
)
|