Skip to content

Amplify examples

Complete examples demonstrating how to use @ddb-lib/amplify with AWS Amplify Gen 2.

All example source code is available in the GitHub repository.

Available examples

Running examples

# Clone the repository
git clone https://github.com/gxclarke/ddb-lib.git
cd ddb-lib

# Install dependencies
npm install

# Run an example
npx tsx examples/amplify/basic-usage.ts

Prerequisites

  • AWS Amplify Gen 2 project configured
  • Amplify data schema defined
  • AWS credentials configured