Git Product home page Git Product logo

node-video-collab's Introduction

node-video-collab

NodeJS Express, Handlebars, Socket IO. MongoDB

NodeJS Express powered video chat and collaboration tool proof of concept

Getting Started

Checkout this repo, install dependencies, configure, then start the app.

$ git clone [email protected]:fernandedios/node-video-collab.git
$ cd node-video-collab
$ npm install

-- configure app

$ npm start

Configuration

This web application requires the following as starting point:

Local Development Variables

module.exports = {
  base: 'http://localhost:3000',
  email: 'your_email_address',
  peerServer: {
    host: 'localhost',
    port: 9001,
    secure: false // whether the peerJS server is in a secure server or not
  },
  mailer: {
    service: 'Gmail',
    auth: {
      user: 'your_gmail_address', // gmail account to use as mailer
      pass: 'your_gmail_password'
    }
  },
  dbConnstring: 'mongodb://your_mongodb_connection_string',
  sessionKey: 'session_key', // can be random string
  facebook: {
    clientID: 'facebook_app_client_id',
    clientSecret: 'facebook_app_client_secret',
    callback: 'http://localhost:3000/auth/facebook/callback'
  }
};

Save as 'dev.js' and place it inside the config folder.

Production Environment Variables

You will need to add the following environment variables to your production host

process.env.BASE_URL,
process.env.USER_EMAIL,
process.env.PEER_HOST,
process.env.PEER_PORT,
process.env.PEER_SECURE,
process.env.MAILER_SERVICE,
process.env.MAILER_USER,
process.env.MAILER_PASS
process.env.MONGO_URL,
process.env.SESSION_KEY
process.env.FB_CLIENTID,
process.env.FB_CLIENTSECRET,
process.env.FB_CALLBACK

PeerJS Server

You will need to setup a separate peerJS server for production use. You can use the companion peerJS server setup here

Preview

Access the application preview.

Thanks

node-video-collab © 2019, Fernan de Dios.

fernandedios.com  ·  GitHub @fernandedios  ·  Twitter @fernan_de_dios

node-video-collab's People

Contributors

fernandedios avatar

Watchers

 avatar  avatar

Forkers

robo2424

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.