canva-local-dev-loop

Featured

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".

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

# Canva Local Dev Loop ## Overview Set up a fast local development environment for Canva Connect API integrations with a token management server, mock API for testing, and hot reload. ## Prerequisites - Completed `canva-install-auth` setup - Node.js 18+ with npm/pnpm - ngrok or similar tunnel for OAuth callbacks (or use localhost with Canva dev settings) ## Instructions ### Step 1: Project Structure ``` my-canva-app/ ├── src/ │ ├── canva/ │ │ ├── client.ts # REST client wrapper (from canva-sdk-patterns) │ │ ├── auth.ts # OAuth PKCE flow │ │ └── types.ts # API response types │ ├── routes/ │ │ ├── auth.ts # OAuth callback handler │ │ └── designs.ts # Design CRUD routes │ └── index.ts ├── tests/ │ ├── canva-mock.ts # Mock Canva API server │ └── designs.test.ts ├── .env.local # Local secrets (git-ignored) ├── .env.example # Template for team ├── package.json └── tsconfig.json ``` ### Step 2: Environment Setup ```bash # .env.example CANVA_CLIENT_ID= CANVA_CLIENT_SECRET= CANVA_REDIRECT_URI=http://localhost:3000/auth/canva/callback PORT=3000 # Copy and fill in cp .env.example .env.local ``` ### Step 3: OAuth Callback Server ```typescript // src/routes/auth.ts import express from 'express'; import { generatePKCE, getAuthorizationUrl, exchangeCodeForToken } from '../canva/auth'; const router = express.Router(); const pkceStore = new Map<string, string>(); // state → verifi...

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

canva-install-auth

Set up Canva Connect API OAuth 2.0 PKCE authentication and project scaffolding. Use when creating a new Canva integration, setting up OAuth credentials, or initializing a Canva Connect API project. Trigger with phrases like "install canva", "setup canva", "canva auth", "configure canva API", "canva OAuth".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-multi-env-setup

Configure Canva Connect API across development, staging, and production environments. Use when setting up multi-environment deployments, managing OAuth credentials per environment, or implementing environment-specific Canva configurations. Trigger with phrases like "canva environments", "canva staging", "canva dev prod", "canva environment setup", "canva config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-deploy-integration

Deploy Canva Connect API integrations to Vercel, Fly.io, and Cloud Run. Use when deploying Canva-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy canva", "canva Vercel", "canva production deploy", "canva Cloud Run", "canva Fly.io".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-local-dev-loop

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-local-dev-loop

Configure Klaviyo local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with the Klaviyo API. Trigger with phrases like "klaviyo dev setup", "klaviyo local development", "klaviyo dev environment", "develop with klaviyo", "klaviyo testing".

2,266 Updated today
jeremylongshore