-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 1.02 KB
/
Copy path.env.example
File metadata and controls
36 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Database Configuration
DATABASE_URL=postgresql://postgres:password@localhost:5432/evflow
DB_HOST=localhost
DB_PORT=5432
DB_NAME=evflow
DB_USER=postgres
DB_PASSWORD=password
# JWT Secret (generate a secure random string for production)
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Server Configuration
PORT=5000
NODE_ENV=development
# Frontend URL (for CORS)
FRONTEND_URL=http://localhost:3000
# Google Maps API Key (REQUIRED for maps)
# Get your free API key from: https://console.cloud.google.com/google/maps-apis
# 1. Go to Google Cloud Console
# 2. Create a new project or select existing
# 3. Enable "Maps JavaScript API"
# 4. Create credentials (API Key)
# 5. Restrict the key to your domain for production
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your-google-maps-api-key
# OpenChargeMap API
OPENCHARGE_API_KEY=your-opencharge-api-key
OPENCHARGE_API_URL=https://api.openchargemap.io/v3
# Session Configuration
SESSION_SECRET=your-session-secret-change-this
# API URL for frontend
NEXT_PUBLIC_API_URL=http://localhost:5000