feat(api-auth): implement email code send and login

This commit is contained in:
2026-04-04 21:02:17 +08:00
parent 5d650e00f6
commit efe55fdc2f
13 changed files with 2282 additions and 13 deletions
+4 -1
View File
@@ -1 +1,4 @@
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/todolist?schema=public"
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/todolist?schema=public"
AUTH_ACCESS_SECRET="dev-access-secret"
AUTH_ACCESS_EXPIRES_IN_SECONDS="900"
AUTH_EMAIL_CODE_TTL_SECONDS="300"