Skip to content

Fullstack Reddit Clone: Next.js 14, Next-Auth, TypeScript, PostgreSQL, TanStack Query, Prisma, Tailwind, Redis, Uploadthing

Notifications You must be signed in to change notification settings

psuarezdev/reddit-clone

Repository files navigation

Fullstack Reddit Clone: Next.js 14, Next-Auth, TypeScript, PostgreSQL, TanStack Query, Prisma, Tailwind, Redis, Uploadthing

Captura de pantalla 2024-03-16 223846

Prerequisites

Node version 18.x.x

Setting up the project

Cloning the repository

git clone https://github.com/psuarezdev/reddit-clone.git

Install packages

npm i -E

Setup .env file

# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL=
NEXTAUTH_SECRET=

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=

REDIS_URL=
REDIS_SECRET=

Setup Prisma

npx prisma migrate dev --name init

Start the app

npm run dev

About

Fullstack Reddit Clone: Next.js 14, Next-Auth, TypeScript, PostgreSQL, TanStack Query, Prisma, Tailwind, Redis, Uploadthing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published