This React application uses environment variables for configuration. Environment files are git-ignored for security.
-
Development Environment:
cp .env.development.example .env.development # Edit .env.development with your actual values -
Production Environment:
cp .env.production.example .env.production # Edit .env.production with your actual values
REACT_APP_API_URL- Backend API URLREACT_APP_STRIPE_PUBLISHABLE_KEY- Stripe publishable keyREACT_APP_ENVIRONMENT- Environment identifierREACT_APP_DEBUG_MODE- Enable/disable debug featuresREACT_APP_API_TIMEOUT- API request timeout in milliseconds
client/
├── .env.development # Your dev config (git-ignored)
├── .env.production # Your prod config (git-ignored)
├── .env.development.example # Dev template (tracked)
└── .env.production.example # Prod template (tracked)