-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.9 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.9 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
# =============================================================================
# PeriSense – Environment Configuration
# =============================================================================
# Copy this file to .env and fill in actual values.
# NEVER commit .env to version control.
# =============================================================================
# ── MongoDB ──────────────────────────────────────────────────────────────────
MONGODB_LOCAL_URI=mongodb://localhost:27017
MONGODB_CLOUD_URI=mongodb+srv://<user>:<password>@<cluster>.mongodb.net/?retryWrites=true&w=majority
# ── Sensors Service (FastAPI :4000) ──────────────────────────────────────────
SENSORS_HOST=0.0.0.0
SENSORS_PORT=4000
# ── Vendor Service (FastAPI :5000) ────────────────────────────────────────────
VENDOR_HOST=0.0.0.0
VENDOR_PORT=5000
# ── React Apps ────────────────────────────────────────────────────────────────
# Main frontend (CRA :3000)
REACT_APP_API_URL=http://localhost:5000/api
REACT_APP_SENSORS_URL=http://localhost:4000
# Vehicle dashboard (CRA :3002)
REACT_APP_VEHICLE_API_URL=http://localhost:4000
# Vendor frontend (CRA :3001)
REACT_APP_VENDOR_API_URL=http://localhost:5000/api
# ── Third-Party API Keys ─────────────────────────────────────────────────────
REACT_APP_OPENCAGE_API_KEY=your_opencage_api_key_here
REACT_APP_ORS_API_KEY=your_openrouteservice_api_key_here