Skip to content

vercel/aws-dynamodb-demo

Repository files navigation

Amazon DynamoDB Movies Demo

This demo uses Amazon DynamoDB with Next.js to fetch movies from the database. It is able to securely connect to DynamoDB without using hardcoded access tokens through Vercel's OIDC Federation.

This is an alt text.

Demo: View Demo

Getting Started: Click the "Deploy" button to clone this repo, create a new Vercel project, setup the AWS integration, and provision a new DynamoDB table:

Deploy with Vercel

Once the process is complete, you can clone the newly created GitHub repository and start making changes locally.

Requirements

Local Setup

  1. Pull vercel environment variables locally
vercel env pull
  1. Install dependencies:
pnpm install
  1. Seed the DynamoDB table with movie data:
pnpm run db:seed
  1. Start the development server:
pnpm run dev
  1. View local development: http://localhost:3000

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •