-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (17 loc) · 923 Bytes
/
.env.example
File metadata and controls
24 lines (17 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Google Maps API Configuration
REACT_APP_GOOGLE_MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY_HERE
# OpenRouteService API Configuration
REACT_APP_ORS_API_KEY=YOUR_ORS_API_KEY_HERE
# Backend API Configuration (for local testing)
# When testing on a mobile device or via ngrok, set this to the machine IP or ngrok URL
REACT_APP_API_BASE=http://localhost:5001
# Host binding for CRA dev server (useful to allow other devices on the LAN)
HOST=0.0.0.0
# OSRM Server Configuration (Optional - for routing without ORS)
REACT_APP_OSRM_URL=https://router.project-osrm.org
# Development/Production Mode
REACT_APP_ENV=development
# Notes:
# - To expose your dev server to the internet (for mobile testing and camera access over https),
# run `npm run ngrok` in a separate terminal after starting the dev server.
# - When using HTTPS (ngrok or local certs), update REACT_APP_API_BASE to your secure endpoint.