feat: Добавлен Better Auth
This commit is contained in:
18
apps/backend/.env.example
Normal file
18
apps/backend/.env.example
Normal 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
|
||||
Reference in New Issue
Block a user