flexport-deploy-integration

Featured

Deploy Flexport logistics integrations to Vercel, Fly.io, and Cloud Run. Use when deploying shipment tracking dashboards, webhook receivers, or supply chain automation services to production infrastructure. Trigger: "deploy flexport", "flexport hosting", "flexport Cloud Run".

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

Install

View on GitHub

Quality Score: 97/100

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

Skill Content

# Flexport Deploy Integration ## Overview Deploy Flexport-powered applications to production. Webhook receivers need always-on hosting. Dashboards can use serverless. Background sync workers suit containers. ## Instructions ### Option A: Vercel (Dashboard + Webhook Routes) ```typescript // app/api/webhooks/flexport/route.ts (Next.js App Router) import crypto from 'crypto'; export async function POST(req: Request) { const body = await req.text(); const sig = req.headers.get('x-hub-signature') || ''; const expected = 'sha256=' + crypto.createHmac('sha256', process.env.FLEXPORT_WEBHOOK_SECRET!) .update(body).digest('hex'); if (!crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) { return new Response('Invalid signature', { status: 401 }); } const event = JSON.parse(body); // Process milestone, booking, invoice events return new Response('OK'); } ``` ### Option B: Fly.io (Always-On Webhook Receiver) ```toml # fly.toml app = "flexport-webhooks" primary_region = "iad" [http_service] internal_port = 3000 force_https = true min_machines_running = 1 ``` ```bash fly secrets set FLEXPORT_API_KEY="key" FLEXPORT_WEBHOOK_SECRET="secret" fly deploy ``` ### Option C: Cloud Run (Shipment Sync Worker) ```bash gcloud run deploy flexport-sync \ --source . --region us-central1 \ --set-secrets "FLEXPORT_API_KEY=flexport-key:latest" \ --min-instances 1 --timeout 300 ``` ## Post-Deploy Verification ```bash curl -X POST https://your-app.fl...

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