Skip to content

A twitch clone built with Next.js 14, React, Prisma, Tailwind, and MySQL.

Notifications You must be signed in to change notification settings

tlandtroop/twitch-clone-next14

Repository files navigation

Fullstack Twitch Clone: Next.js 14, React, Prisma, Tailwind, MySQL

Prerequisites

Node version 18.17 or later

Cloning the repository

git clone https://github.com/AntonioErdeljac/next14-twitch-clone.git

Install packages

npm i

Setup .env file

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
CLERK_WEBHOOK_SECRET=

DATABASE_URL=

LIVEKIT_API_URL=
LIVEKIT_API_KEY=
LIVEKIT_API_SECRET=
NEXT_PUBLIC_LIVEKIT_WS_URL=

UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=

Setup Prisma

Add MySQL Database

npx prisma generate
npx prisma db push

Start the app

npm run dev

Available commands

Running commands with npm npm run [command]

command description
dev Starts a development instance of the app

About

A twitch clone built with Next.js 14, React, Prisma, Tailwind, and MySQL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published