ProjectsParts Services
Production Service URLs
✅ Current Production URL (Correct):
Production Service URLs
Search Service
✅ Current Production URL (Correct):
https://api.crop-dev.appService Details:
- Region:
us-east1 - Project:
noted-bliss-466410-q6 - Current Revision:
search-service-rev171 - Deployed: 2025-11-10
Health Check:
curl https://api.crop-dev.app/healthAPI Documentation:
# OpenAPI spec
https://api.crop-dev.app/openapi.json
# Swagger UI
https://api.crop-dev.app/docsFrontend Configuration
Update your frontend environment variables:
# .env.production
NEXT_PUBLIC_SEARCH_API_URL=https://api.crop-dev.app
# or
REACT_APP_SEARCH_API_URL=https://api.crop-dev.app
# or (depends on your framework)
VITE_SEARCH_API_URL=https://api.crop-dev.appAPI Endpoints
Search
GET /api/search?q={query}&manufacturer={code}&page=1&pageSize=20Autocomplete
GET /api/autocomplete?q={query}Equipment (v1.4.0+)
GET /api/equipment?brandCode=NH&page=1&pageSize=20Filters
GET /api/filtersTesting
# Quick health check
curl -s https://api.crop-dev.app/ready | jq
# Search test
curl -s "https://api.crop-dev.app/api/search?q=filter&manufacturer=nh&pageSize=5" | jq
# Autocomplete test
curl -s "https://api.crop-dev.app/api/autocomplete?q=L170" | jqNotes
- DO NOT use
search-service-558279291522.us-central1.run.app(incorrect/old) - Service is deployed to
us-east1region - Health endpoint returns elasticsearch status, mongodb status, and document count
- CORS is configured for production domains