apollo-local-dev-loop

Featured

Configure Apollo.io local development workflow. Use when setting up development environment, testing API calls locally, or establishing team development practices. Trigger with phrases like "apollo local dev", "apollo development setup", "apollo dev environment", "apollo testing locally".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Apollo Local Dev Loop ## Overview Set up an efficient local development workflow for Apollo.io integrations. Includes sandbox API key support, MSW mock server for offline testing, request logging, and npm scripts for daily development. Apollo provides a **sandbox API token** that returns dummy data without consuming credits. ## Prerequisites - Completed `apollo-install-auth` setup - Node.js 18+ - Git repository initialized ## Instructions ### Step 1: Set Up Environment Files Apollo offers a sandbox token for testing. Generate one at Settings > Integrations > API Keys > Sandbox. ```bash # .env.example (commit this — team reference) APOLLO_API_KEY=your-api-key-here APOLLO_SANDBOX_KEY=your-sandbox-key-here APOLLO_USE_SANDBOX=false # .env (gitignored — copy from example) cp .env.example .env echo '.env' >> .gitignore echo '.env.local' >> .gitignore ``` ### Step 2: Create a Dev Client with Request Logging ```typescript // src/apollo/dev-client.ts import axios from 'axios'; import dotenv from 'dotenv'; dotenv.config(); const apiKey = process.env.APOLLO_USE_SANDBOX === 'true' ? process.env.APOLLO_SANDBOX_KEY : process.env.APOLLO_API_KEY; export const devClient = axios.create({ baseURL: 'https://api.apollo.io/api/v1', headers: { 'Content-Type': 'application/json', 'x-api-key': apiKey!, }, timeout: 30_000, }); // Log all requests in development devClient.interceptors.request.use((config) => { console.log(`[Apollo] ${config.method?.toUpperCase()} ${co...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category