navan-local-dev-loop

Featured

Set up a local development environment for Navan API integrations with token caching and request logging. Use when starting a new Navan project or debugging API issues locally. Trigger with "navan local dev", "navan dev setup", "navan local dev loop", "navan dev environment".

AI & Automation 2,266 stars 315 forks Updated today 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

# Navan Local Dev Loop ## Overview Configure a local development environment for Navan API integrations with token caching, request logging, and mock fixtures. Navan has **no sandbox** — all API calls hit production, making a structured local setup essential. **Purpose:** Establish a safe local dev workflow that minimizes production API calls during iteration. ## Prerequisites - Completed `navan-install-auth` with working OAuth 2.0 credentials - Node.js 18+ with `tsx` for TypeScript execution - `.env` file with `NAVAN_CLIENT_ID`, `NAVAN_CLIENT_SECRET`, `NAVAN_BASE_URL` ## Instructions ### Step 1: Project Structure Set up a clean project layout that separates concerns: ``` my-navan-integration/ ├── .env # Credentials (NEVER commit) ├── .env.example # Template for teammates ├── .gitignore # Must include .env, .token-cache, logs/ ├── src/ │ ├── navan-client.ts # API wrapper (from navan-sdk-patterns) │ ├── navan-types.ts # Response interfaces │ └── index.ts # Entry point ├── tests/ │ ├── fixtures/ # Recorded API responses for offline dev │ │ ├── bookings.json │ │ └── users.json │ └── navan-client.test.ts ├── logs/ # Request/response logs (gitignored) ├── .token-cache # Cached OAuth token (gitignored) ├── package.json └── tsconfig.json ``` ### Step 2: Environment Configuration Create `.env.example` as a safe template and enforce `.gitignore`: ```bash ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

navan-multi-env-setup

Set up dev/staging/prod environment separation for Navan integrations without a sandbox API. Use when configuring multiple environments, building CI test pipelines, or setting up local development. Trigger with "navan environments", "navan multi env", "navan dev setup", "navan mock server".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-install-auth

Set up OAuth 2.0 authentication for the Navan REST API. Use when configuring a new Navan integration or rotating API credentials. Trigger with "install navan", "setup navan auth", "navan credentials", "navan oauth".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-local-dev-loop

Configure Canva Connect API local development with hot reload and mock server. Use when setting up a development environment, testing OAuth flows locally, or establishing a fast iteration cycle for Canva integrations. Trigger with phrases like "canva dev setup", "canva local development", "canva dev environment", "develop with canva", "canva mock".

2,266 Updated today
jeremylongshore
AI & Automation Featured

maintainx-local-dev-loop

Set up a local development loop for MaintainX integration development. Use when configuring dev environment, testing API calls locally, or setting up a sandbox workflow for MaintainX. Trigger with phrases like "maintainx dev setup", "maintainx local", "maintainx development environment", "maintainx testing setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-debug-bundle

Use when collecting diagnostic data from a Navan API integration — OAuth token inspection, API response capture, connectivity testing, and request/response logging. Trigger with "navan debug bundle" or "debug navan api".

2,266 Updated today
jeremylongshore