Coder Social home page Coder Social logo

sagargaonkar / sample-app-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 100mslive/100ms-web-v1

0.0 0.0 0.0 20.89 MB

An example web app to demo 100mslive's web SDK

Home Page: https://100ms.live

License: Other

Dockerfile 0.31% Shell 1.05% HTML 0.40% JavaScript 91.86% SCSS 6.38%

sample-app-web's Introduction

100mslive sample web app

This is an example web app to demo 100mslive's web SDK

Prerequisites

You will need Node.js version v12.13.0 or greater installed on your system

Setup

Get the code by cloning this repo using git

git clone [email protected]:100mslive/sample-app-web.git

Once cloned, open the terminal in the project directory, and install dependencies with:

npm install

Create a new file .env and copy the values from example.env

cp example.env .env

Token generation

Host your token generation service following this guide

Update the TOKEN_ENDPOINT in .env file with your token generation service endpoint (eg. https://ms-services-vjml47hk9gmu.runkit.sh/)

[Optional] Firebase config

To turn on the remote-mute feature, update the following values in .env file from your firebase project settings:

# Firebase config
FIREBASE_API_KEY=<firebaseConfig.apiKey>
FIREBASE_AUTH_DOMAIN=<firebaseConfig.authDomain>
FIREBASE_DATABASE_URL=<firebaseConfig.databaseURL>
FIREBASE_PROJECT_ID=<firebaseConfig.projectId>
FIREBASE_STORAGE_BUCKET=<firebaseConfig.storageBucket>
FIREBASE_MESSAGING_ID=<firebaseConfig.messagingSenderId>
FIREBASE_APP_ID=<firebaseConfig.appId>

Then start the app with:

npm start

The app should now be up and running at http://localhost:8080 ๐Ÿš€

Screenshot

sample-app-web's People

Contributors

aniketbehera avatar apnerve avatar dependabot[bot] avatar eswarclynn avatar nikhilbghodke avatar nimishkhurana avatar pratikshadake avatar

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.