
This app uses AWS Aurora PostgreSQL with Next.js and Vercel (view source).
Movies are fetched from the Postgres database when the page loads. It has been seeded with the top 5000 movies from TMDB. When a user votes on a movie, useOptimistic is used to instantly show the new score and updated time.
Our Aurora PostgreSQL database is replicated to multiple regions with strong consistency. Aurora PostgreSQL is ACID-compliant, serverless, and separates storage from compute. It also has 99.99% availability in single-region configuration and 99.999% in multi-region. Learn more.