Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Subject to change, we'll rename it whenever the project is decided on.

Notifications You must be signed in to change notification settings

MTU-2019-Fall-CS3141-4711/Project

Repository files navigation

YouTwobe Video Viewer

A simple, single-page application that lets multiple people watch the same YouTube video simultaniously and comment and annotate on that video while playback remains sychronized.

Technologies

This project is powered by Google's Firebase platform. This project uses Mithril.js, Less.js, Mocha, Instabul, Webpack, and Firebase's JS client libraries. These packages are managed by NPM.

Developed by Team Firebase^(Not Sponsored) Michigan Technological University CS3141 - CS4711


HTML Reference

HTML by itself has no dynamic features or logic. HTML is purley for defining a structure or skeleton. Syntactically, HTML is exactly the same as XML.

<tag>
    <nestedTag attribute="value">Some Text That Renders To The Screen</nestedTag>
</tag> 

W3Schools has a decent HTML reference and curiculum. For the most part, just make sure that you close your HTML in the correct order and you should be fine.

Mithril Note

Most of the HTML for this application is generated by Mithril and is actually written as virtual DOM definitions under /js/views. Mithril renders the page from this virtual DOM and generates most of the HTML dynamically.


NPM Scripts

  • npm run-script launch: Launch a local webserver to serve the firebase project.
  • npm run-script dev-web-start: Automatically build the project whenever files are changed. Ctrl + C in the terminal to exit.
  • npm run-script dev-less-start: Automatically parse the Less style rules and build and updated style.css file.
  • npm run-script build: One-time build the project for deployment to website (JS and Less files)
  • npm run-script build-web: One-time transpile of all JS code into app.js
  • npm run-script build-less: One-time parse and build of Less -> style.css
  • npm run-script test: Run the testing suite
  • npm run-script test-coverage: Run code-coverage analysis

Building?

This project uses Webpack to build a production ready application. Essentially, webpack will take all the js source files which are require();d in the application and generate a single Javascript file bin/app.js that contains all the application code. During this process it optimizes code and transpiles ES6 code which is not yet supported by most (any?) browsers into ES5 code which the modern browsers can understand.

About

Subject to change, we'll rename it whenever the project is decided on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published