This demo uses AWS DSQL Postgres with Next.js to fetch movies from the database. It is able to securely connect to DSQL without using hardcoded access tokens through Vercel's OIDC Federation.
Demo:
DSQL does not currently support:
- Pull vercel environment variables locally
vercel env pull- Install dependencies:
npm install- Run migrations to create tables:
npm run db:migrate- Seed the database with movie data:
npm run db:seed- Start the development server:
npm run dev