Skip to content

I'm creating a Twich clone as it really is from scratch. Streaming, user authentication, machine learning and more...

Notifications You must be signed in to change notification settings

Jonorusc/Live-streaming-Platform

Repository files navigation

I'm still building this project, so I'll update this README as I go along.

use's settings

image

creator's settings

image image

Environment Variables Required

.env

# PRISMA DATABASE
DATABASE_URL="mongodb+srv://USERNAME:PASSWORD@HOST/DATABASE"

# FIREBASE ADMIN SDK
# we use the public keys in order to access the firebase database on the client side
NEXT_PUBLIC_FIREBASE_API_KEY="********"
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="********"
NEXT_PUBLIC_FIREBASE_PROJECT_ID="********"
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET="********"
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="********"
NEXT_PUBLIC_FIREBASE_APP_ID="********"
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID="********"

# PUSHER VARIABLES
PUSHER_APP_ID = "********"
NEXT_PUBLIC_PUSHER_KEY = "********"
PUSHER_SECRET = "********"
NEXT_PUBLIC_PUSHER_CLUSTER = "********"

# CUSTOM ENV VARIABLES
NEXT_PUBLIC_URL="http://localhost:3000"