Skip to content

ccu-an-b/Hypertube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypertube

Welcome to Hypertube, a streaming website that allows users to search and watch their favourite movies. All movies are download from a torrent, scraped from YTS and PopcornTime, and then directly streamed on the website.

alt text

Build with

Get the requirement

Prerequisites

You need to have installed NodeJS and MongoDb. Here a MongoDb Atlas was used link to the project with a connecting string.

API/server.js

mongoose.connect(`mongodb+srv://${config.mongo.user}:${config.mongo.password}@${config.mongo.cluster}.mongodb.net/${config.mongo.database}`)

Modify the config files

API/config/congif.js

module.exports = {
    mongo: {
      password: 'YourMongoPassword',
      user: 'YourMongoUsername',
      cluster: 'yourClusterName',
      database: 'yourDatabaseName'
    }
  }

API/config/keys.js

module.exports = {
    googleClientID : 'yourGoogleClientID',
    goggleClientSecret : 'yourGoggleClientSecret',
    facebookClientID: 'yourFacebookClientID',
    facebookClientSecret: 'yourFacebookClientSecret',
    fortyTwoClientID: 'yourFortyTwoClientID',
    fortyTwoClientSecret: 'yourFortyTwoClientSecret',
    githubClientID : 'yourGithubClientID',
    githubClientSecret: 'yourGithubClientSecret',
    cookieKey: 'yourCookieKey',
    moviedbKey: 'yourMoviedbKey',
    jwtKey: 'yourJwtKey',
};

Let's start

Make sure all your node modules are installed

npm i
npm run installAll

Add few movies to your database

npm run init

Run your server

npm start

alt text

API Documentation

Check the Hypertube Postman Collection to get all the API's endpoints.

About

Streaming Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published