reimplemented auth

This commit is contained in:
Niki Wix Skaarup 2025-04-12 02:49:50 +02:00
parent c925697c46
commit 2a6875016e
Signed by: nikiskaarup
GPG key ID: FC2F1B116F6E788C
35 changed files with 906 additions and 233 deletions

View file

@ -0,0 +1,13 @@
DATABASE_URL="./data/db.sqlite"
# Admin user is seeded
# Generate id With `bun -e "console.log(Bun.randomUUIDv7('base64url'))";`
ADMIN_USER_ID="some unique id"
ADMIN_USER_EMAIL="admin"
ADMIN_USER_PASSWORD="password"
#SESSION_DURATION_IN_DAYS=31
BEARER_TOKEN="Token"
API_SERVICE_URL="http://localhost:3000"
#API_SERVICE_URL="https://pt-api.skaarup.dev"