Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Development Environment Variables
# This file contains configuration for local development

# Deployment
NODE_ENV=development
NEXT_PUBLIC_APP_ENV=development

# API Configuration
NEXT_PUBLIC_API_URL=https://api.jeepedia.in/api
NEXT_PUBLIC_CDN_URL=https://res.cloudinary.com
NEXT_PUBLIC_ASSETS_URL=https://assets.jeepedia.in

# Website Configuration
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXT_PUBLIC_DEV_TUNNEL_URL=https://7rfkcr7r-3000.inc1.devtunnels.ms
NEXT_PUBLIC_CONTACT_EMAIL=jeepedia.in@gmail.com

# Social Media
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/Z8s9JECw4C
NEXT_PUBLIC_INSTAGRAM_URL=https://www.instagram.com/jeepedia.in
NEXT_PUBLIC_GITHUB_URL=https://github.com/J2J-App

# Analytics (disabled in development)
NEXT_PUBLIC_UMAMI_WEBSITE_ID=dev-test-id
NEXT_PUBLIC_UMAMI_SCRIPT_URL=https://cloud.umami.is/script.js
NEXT_PUBLIC_GOOGLE_ADSENSE_ID=ca-pub-6258466000437582

# Feature Flags
NEXT_PUBLIC_ENABLE_ANALYTICS=false
NEXT_PUBLIC_ENABLE_CONSOLE_LOGS=true
NEXT_PUBLIC_MAINTENANCE_MODE=false

# Performance
NEXT_PUBLIC_API_TIMEOUT=15000
NEXT_PUBLIC_MAX_RETRIES=3
61 changes: 61 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Environment Variables Template
# Copy this file to .env.local and fill in your actual values
# See README.md for detailed instructions

# ===================
# DEPLOYMENT CONFIGURATION
# ===================
NODE_ENV=development
NEXT_PUBLIC_APP_ENV=development

# ===================
# API CONFIGURATION
# ===================
# Main API endpoint
NEXT_PUBLIC_API_URL=https://api.jeepedia.in/api

# CDN and Asset URLs
NEXT_PUBLIC_CDN_URL=https://res.cloudinary.com
NEXT_PUBLIC_ASSETS_URL=https://assets.jeepedia.in

# ===================
# WEBSITE CONFIGURATION
# ===================
# Main website URL (used for sitemap, metadata, etc.)
NEXT_PUBLIC_SITE_URL=https://www.jeepedia.in

# Development tunnel URL (for local development with external access)
NEXT_PUBLIC_DEV_TUNNEL_URL=https://7rfkcr7r-3000.inc1.devtunnels.ms

# Contact email
NEXT_PUBLIC_CONTACT_EMAIL=jeepedia.in@gmail.com

# ===================
# SOCIAL MEDIA LINKS
# ===================
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/Z8s9JECw4C
NEXT_PUBLIC_INSTAGRAM_URL=https://www.instagram.com/jeepedia.in
NEXT_PUBLIC_GITHUB_URL=https://github.com/J2J-App

# ===================
# ANALYTICS & TRACKING
# ===================
# Umami Analytics
NEXT_PUBLIC_UMAMI_WEBSITE_ID=your-umami-website-id
NEXT_PUBLIC_UMAMI_SCRIPT_URL=https://cloud.umami.is/script.js

# Google Analytics / AdSense
NEXT_PUBLIC_GOOGLE_ADSENSE_ID=ca-pub-6258466000437582

# ===================
# FEATURE FLAGS
# ===================
NEXT_PUBLIC_ENABLE_ANALYTICS=true
NEXT_PUBLIC_ENABLE_CONSOLE_LOGS=false
NEXT_PUBLIC_MAINTENANCE_MODE=false

# ===================
# RATE LIMITING & PERFORMANCE
# ===================
NEXT_PUBLIC_API_TIMEOUT=10000
NEXT_PUBLIC_MAX_RETRIES=3
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*
# env files - allow template and development files, ignore sensitive local files
.env*.local
.env.staging
.env.production
!.env.example
!.env.development

# vercel
.vercel
Expand Down
Loading