-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (18 loc) · 867 Bytes
/
Copy path.env.example
File metadata and controls
23 lines (18 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Example environment variables for local development
# Copy this file to `.env` and replace placeholders with real values.
# IMPORTANT: Do not commit real credentials to version control.
# Server port
PORT=3002
# Frontend URL for CORS configuration
FRONTEND_URL=http://localhost:8080
# MongoDB connection string (URI). e.g. mongodb://localhost:27017/agrismart or a cloud URI
MONGODB_URI=your_mongodb_connection_string
# Twilio credentials for server-side usage (do NOT prefix with VITE_)
TWILIO_ACCOUNT_SID=your_twilio_account_sid
TWILIO_AUTH_TOKEN=your_twilio_auth_token
TWILIO_PHONE_NUMBER=+1234567890
# Frontend (public) variables used by Vite start with VITE_. These are visible to clients.
# Example (optional):
# VITE_TWILIO_ACCOUNT_SID=public_or_test_value
# VITE_TWILIO_VERIFIED_PHONE_NUMBER=+1234567890
# VITE_IP_CAMERA_URL1=http://your-camera-ip:8080