set env example
This commit is contained in:
parent
5e1b78bc66
commit
4417d1eba3
1 changed files with 30 additions and 0 deletions
30
.env.example
Normal file
30
.env.example
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Server
|
||||
PORT=5000
|
||||
NODE_ENV=development
|
||||
|
||||
# Database (PostgreSQL)
|
||||
DATABASE_URL=postgresql://username:password@host:port/dbname
|
||||
|
||||
# Supabase
|
||||
SUPABASE_URL=https://your-project-id.supabase.co
|
||||
SUPABASE_SERVICE_ROLE_KEY=your-secret-service-role-key
|
||||
SUPABASE_ANON_KEY=your-anon-key (optional, if you use it anywhere)
|
||||
|
||||
# JWT
|
||||
JWT_ACCESS_SECRET=your_jwt_access_secret
|
||||
JWT_REFRESH_SECRET=your_jwt_refresh_secret
|
||||
JWT_ACCESS_EXPIRES_IN=15m
|
||||
JWT_REFRESH_EXPIRES_IN=7d
|
||||
|
||||
# Bcrypt
|
||||
BCRYPT_SALT_ROUNDS=10
|
||||
|
||||
# Frontend & Backend URLs
|
||||
CLIENT_URL=http://localhost:3000
|
||||
BACKEND_URL=http://localhost:5000
|
||||
|
||||
# Mailer Config
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USER=your_smtp_user
|
||||
MAIL_PASS=your_smtp_password
|
||||
Loading…
Add table
Reference in a new issue