Skip to content

Commit 01d8203

Browse files
Merge branch 'main' into feature/wishlist-api
2 parents 5fe0801 + 38888f0 commit 01d8203

13 files changed

Lines changed: 726 additions & 464 deletions

.env.example

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
PORT=5000
2-
MONGODB_URI=your mongodb connection string
3-
JWT_SECRET=replace_with_a_local_jwt_secret
2+
MONGODB_URI=your_mongodb_connection_string
3+
4+
# Security
5+
JWT_SECRET=replace_with_a_strong_random_hex_secret
46
NODE_ENV=development
7+
8+
# Google SSO (required for Google OAuth)
9+
GOOGLE_CLIENT_ID=your_google_client_id
10+
GOOGLE_CLIENT_SECRET=your_google_client_secret
11+
GOOGLE_CALLBACK_URL=http://localhost:5000/auth/google/callback
12+
13+
# Frontend / Backend URLs
14+
FRONTEND_URL=http://localhost:3000
15+
BACKEND_URL=http://localhost:5000
16+
17+
# Token delivery
18+
SEND_TOKEN_COOKIE=false
19+
20+
# SMTP (optional — required to send pending-link emails)
21+
SMTP_HOST=smtp.example.com
22+
SMTP_PORT=587
23+
SMTP_USER=your_smtp_user
24+
SMTP_PASS=your_smtp_password
25+
SMTP_SECURE=false # true for 465, false for 587
26+
EMAIL_FROM="Open Code Chicago <no-reply@example.com>"

0 commit comments

Comments
 (0)