Algolia Local Dev Loop Overview Set up a fast, reproducible local development workflow for Algolia. Use separate dev indices, mock the client in tests, and iterate without touching production data. Prerequisites - Completed setup - Node.js 18+ with npm/pnpm - Vitest or Jest for testing Instructions Step 1: Environment-Based Index Names Step 2: Seed Script for Dev Data Step 3: Mock Algolia in Unit Tests Step 4: Integration Test with Real API Error Handling | Error | Cause | Solution | |-------|-------|----------| | | Dev index not seeded | Run | | Test pollution | Shared index between tests |…