diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..775728f --- /dev/null +++ b/.env.example @@ -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