Blitzship Logoblitzship
DocumentationDocumentationGet BlitzshipGet Blitzship (opens in a new tab)Join DiscordJoin Discord (opens in a new tab)
(opens in a new tab)
  • Introduction
  • SST and Infrastructure as Code
  • Get Started
    • Folder Structure
    • Cloning the Repository
    • Setting up AWS
    • Setting up .env files
      • General
      • Authentication
      • Social Sign-in
      • Stripe
      • Analytics
    • Developing locally
    • Summing up

  • Custom Domains
  • Theming and Styling
  • Deploying to Production

  • The Infra Directory
    • Next.js
    • Dynamo
    • Auth
    • Email
    • Bucket
    • Api
    • Secrets
  • The Packages Directory
    • Core Folder
    • Functions Folder
    • Landing Page Folder
    • Main App Folder
    • Schemas Folder
    • Transactional Folder
Share your feedback (opens in a new tab)
Documentation
The Infra Directory
Api

🌐 Api Infrastructure

The api.ts file creates API endpoints using AWS API Gateway (opens in a new tab). It sets up routes for handling Stripe webhooks and configures necessary permissions and environment variables for the associated Lambda functions.

Currently, Blitzship only uses this file to set up a webhook endpoint for receiving webhooks from Stripe.

Check out SST's ApiGatewayV2 component (opens in a new tab) for more information.

BucketSecrets

Privacy policyTerms of service