Skip to content

akkarn1689/newtube

 
 

Repository files navigation

Video Streaming Platform

A microservices-based video streaming platform built with modern technologies.

Architecture Components

The platform consists of four major services:

  • Next.js Application: Frontend application
  • User Service: Handles user management and authentication
  • Transcode Service: Manages video transcoding operations
  • Watch Service: Manages video streaming and playback

Setup Instructions

1. Next.js Application

# Install dependencies
npm install

# Setup environment variables
cp .env.example .env
# Edit .env file with your credentials

2. User Service & Watch Service

# Install dependencies
npm install

# Setup environment variables
cp .env.example .env
# Edit .env file with your credentials

# Initialize database
npx prisma migrate dev --name init

3. Transcode Service

Note: FFmpeg must be installed locally on your system. Dockerization is in progress.

# Install dependencies
npm install

# Setup environment variables
cp .env.example .env
# Edit .env file with your credentials

Database Setup

Start PostgreSQL database using Docker:

docker run --name newtube_postgres \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=randompassword \
  -p 5432:5432 \
  -d postgres

Contact

For support or inquiries:


Feel free to open issues or submit pull requests for improvements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • CSS 2.2%
  • JavaScript 0.3%