Skip to content

Commit a043c08

Browse files
author
blackghost
committed
feature:Authentication
1 parent afa1463 commit a043c08

14 files changed

Lines changed: 1260 additions & 304 deletions

File tree

.env.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,17 @@ JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
1010
JWT_ACCESS_TOKEN_EXPIRY=3600
1111
JWT_REFRESH_TOKEN_EXPIRY=604800
1212

13+
# SMTP Configuration (Gmail example)
14+
SMTP_HOST=smtp.gmail.com
15+
SMTP_PORT=587
16+
SMTP_USERNAME=your-email@gmail.com
17+
SMTP_PASSWORD=your-app-specific-password
18+
FROM_EMAIL=noreply@school.com
19+
FROM_NAME=School API
20+
21+
# Email URLs
22+
RESET_PASSWORD_URL=https://school.com/reset-password
23+
VERIFY_EMAIL_URL=https://school.com/verify-email
24+
1325
# Logging
1426
RUST_LOG=info

0 commit comments

Comments
 (0)