feat: jwt token generation (todo: create jwt validation middleware)

This commit is contained in:
hexlocation 2025-05-05 23:04:50 +02:00
parent d8caef7e5d
commit b28b719b51
9 changed files with 86 additions and 29 deletions

View file

@ -11,3 +11,6 @@ SQLITE_FILE=
# postgres DSN, look at https://gorm.io/docs/connecting_to_the_database.html#PostgreSQL
POSTGRES_DSN=
# Random secret. Recommended length is 64 characters at minimum.
JWT_SECRET=