Archived
1
0

feat: Добавлен Better Auth

This commit is contained in:
2025-11-19 10:00:57 +03:00
parent a423bc6c11
commit 6fd29f5408
21 changed files with 1217 additions and 104 deletions

18
apps/backend/.env.example Normal file
View File

@ -0,0 +1,18 @@
NODE_ENV=development
PORT=3000
DATABASE_URL=postgres://user:password@localhost:5432/p1ctos4ve
REDIS_URL=redis://localhost:6379
S3_ENDPOINT=http://localhost:8333
S3_REGION=us-east-1
S3_BUCKET=p1ctos4ve
S3_ACCESS_KEY_ID=your_access_key
S3_SECRET_ACCESS_KEY=your_secret_key
S3_FORCE_PATH_STYLE=true
BETTER_AUTH_SECRET=your_secret_key_here_min_32_chars
BETTER_AUTH_URL=http://localhost:3000
BASE_URL=http://localhost:3000