diff --git a/frontend/.env.example b/frontend/.env.example new file mode 100644 index 0000000..f1175c7 --- /dev/null +++ b/frontend/.env.example @@ -0,0 +1,15 @@ +# ============================================================================= +# GoHorse Jobs Frontend - Environment Variables Example +# ============================================================================= +# Copy this file to .env.local and update the values + +# API Backend URL +# IMPORTANT: Include /api/v1 suffix +# Local development: +NEXT_PUBLIC_API_URL=http://localhost:8521/api/v1 + +# Production: +# NEXT_PUBLIC_API_URL=https://api-dev.gohorsejobs.com/api/v1 + +# Vercel Analytics (optional) +NEXT_PUBLIC_VERCEL_ANALYTICS=false diff --git a/frontend/.gitignore b/frontend/.gitignore index 5ef6a52..4f7e0a5 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -30,8 +30,9 @@ yarn-debug.log* yarn-error.log* .pnpm-debug.log* -# env files (can opt-in for committing if needed) +# env files (keep .env.example for documentation) .env* +!.env.example # vercel .vercel