Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1013 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 1013 Bytes

Vercel

Rick and Morty Poll

Which is your favorite Rick and Morty character? Vote and see the current results.

Alt text

Tech stack

  • NextJS: The React Framework for Production.
  • TailwindCSS: Rapidly build modern websites without ever leaving your HTML.
  • Prisma: Next-generation Node.js and TypeScript ORM.
  • TRPC: End-to-end typesafe APIs made easy 💜
  • AWS RDS with PostgreSQL: The World's Most Advanced Open Source Relational Database.

Quick start

Populate a PostgreSQL database with the correct data, you already have a script to do so in the /scripts folder.

npx tsx scripts/populate-db-from-external-api.ts

Add the correct DATABASE_URL in the .env file.

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.