Skip to content

VideoHub - upload, watch videos, get recommendations and searching any videos

License

Notifications You must be signed in to change notification settings

shivansh1012/VideoHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoHub

VideoHub - watch videos, get recommendations, search videos and share videos (upload) in the community.

Tech Used

ExpressJS - API server
ReactJS - Web Application
MongoDB - Database Store
Docker Container Images

Views

HomePage with top videos

HomePage darkmode

Option for dark and light theme

SettingsPage

HomePage in light theme

HomePage

A List of all videos

VideoList

Video Player

Videoplayer

Basic Details about video and more videos to continue watching

Videoplayermorevideos

Instant Setup

Docker Container

  • Docker Compose
    docker compose up

-------------OR-------------

  • Run Web-Stream Container

    docker run --rm -d --name webstream -p 80:80 userverse/webstream:latest
  • Run API-Stream Container

    docker run --rm -d --name apistream --env-file .env -p 5000:5000 userverse/apistream:latest

    Environmental Variables (Store in .env file):
    JWT_SECRET=
    MONGO_ATLAS_URI=
    SERVER_PORT=5000

Getting Started ( Developers )

Installing Required Dependencies

  • After cloning the repository run command
    npm i

in web-stream and api-stream directories.

Run Applications

  • For Web application

    cd web-stream
    npm start
  • For API application

    cd api-stream
    npm run server

    Environmental Variables (Store in .env file):
    JWT_SECRET=
    MONGO_ATLAS_URI=
    SERVER_PORT=5000

Build Images

  • For Web application
    docker build -f web-stream/Dockerfile -t userverse/webstream:vdev .
  • For API application
    docker build -f api-stream/Dockerfile -t userverse/apistream:vdev .