Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Server configuration
PORT=3000

# Environment (development, production, test)
NODE_ENV=development

# OpenWeatherMap API key (optional - uses mock data if not set)
OPENWEATHERMAP_API_KEY=

# CORS allowed origins (comma-separated)
CORS_ORIGINS=http://localhost:3000

# JWT configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=1h

# Demo user password hash (optional - defaults to bcrypt hash of 'password123')
DEMO_PASSWORD_HASH=
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.env
coverage/
Loading
Loading