Skip to content
New Project

Next.js Vercel app with Aurora PostgreSQL

This demo uses Amazon Aurora PostgreSQL with Next.js to fetch movies from the database. It is able to securely connect to Aurora PostgreSQL.

DeployView Demo
This is an auto-uploaded thumbnail from https://vercel.com/templates/submit

AWS Aurora PostgreSQL Movies Demo

This demo uses AWS Aurora PostgreSQL with Next.js to fetch movies from the database. It is able to securely connect to Aurora PostgreSQL without using hardcoded access tokens through Vercel's OIDC Federation and RDS IAM authentication.

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 Aurora PostgreSQL database:

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

Requirements

  • Installed Aurora PostgreSQL. You can do that via Vercel Marketplace

Local Setup

  1. Pull vercel environment variables locally
vercel env pull
  1. Install dependencies:
pnpm install
  1. Run migrations to create tables:
pnpm run db:migrate
  1. Seed the database with movie data:
pnpm run db:seed
  1. Start the development server:
pnpm run dev
  1. View development server: http://localhost:3000
GitHub
Ownervercel
Repositoryaws-aurora-postgresql-demo
Use Cases
Starter
Stack
Next.js
Tailwind
Database
Postgres

Related Templates

eve Typefully Agent

Run your social presence from Slack. Drafts for X, LinkedIn, and more via Typefully, schedules on approval, reports analytics weekly.
eve Typefully Agent thumbnail

eve Incident Response Agent

sre investigates production issues using a hypothesis-driven approach and outputs verifiable evidence from connected sources.
eve Incident Response Agent thumbnail

eve Marketing Team

Marketing team in Slack: one lead, five specialists. Blog drafts in Notion, posts in Typefully, campaigns in Resend, on approval.
eve Marketing Team thumbnail
DeployView Demo