WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

vercel/aws-dsql-movies-demo

Repository files navigation

AWS Aurora DQSL Movies Demo

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.

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 DSQL database:

  • Deploy with Vercel

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

Local Setup

  1. Pull vercel environment variables locally
vercel env pull
  1. Install dependencies:
npm install
  1. Run migrations to create tables:
npm run db:migrate
  1. Seed the database with movie data:
npm run db:seed
  1. Start the development server:
npm run dev

About

AWS DSQL Postgres with Next.js and Vercel

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •