Skip to content

erikbg7/rick-and-morty-poll

Repository files navigation

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.

About

Which is your favourite Rick and Morty character?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published