Skip to content

sophiezxf/LiveCommenting-Webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Plop Live Commenting Webapp README##

Synopsis

The purpose of [Plop Live Commenting] is to plop any questions students have directly on professor's slides during lecture.

Router description!!

  • Server: listen to clients, receive plops and show plops on the plop client
  • Send-client: send plop. controller - send.js
  • Show-client: show plop. controller - show.js
  |--------------|       |------------------|   |--------------|
  | sent-client  |       |    server        |   | show-client  |
  |--------------|       |------------------|   |--------------|

          |<----connect--->|           |<----connect----->|


          |<----plop send-->|        
                                       |<----show plop--->|
  1. Put send.js and show.js into the /routes folder

Create show client

  1. Add views/index.jade, css file stylesheets/index.css, javascipts/index.js

  2. Only static effect works in this case.

  3. router/index.js shows the html file views/index.jade

  4. Polish needed!!!!!

Server Side

  1. Use socket.io in index.js

  2. Now Dynamic part works

Create send client

  1. add config.JSON including modes, fond, animation

  2. router/send.js shows the html file views/send.jage

  3. login page needed router/login.js shows the login page views/login.jage

  4. Polish needed!!!!

Deployment Steps

#####Bluemix Command#####

  1. connect to IBM Bluemix
bluemix api https://api.ng.bluemix.net
  1. log in to Bluemix
bluemix login -u username
  1. push to Bluemix repository
cf push "app_name"
  1. Access app in your browser
host.mybluemix.net
  1. Powerpoint for javascript and HTML5

http://devzum.com/2014/11/10-best-javascript-and-html5-presentation-frameworks/

#####Work Distribution#####

  1. Front End - Logan
  • Login Page
  • Web Based Ppt
  • Page Polish
  • Maintenance
  1. Front End - Yangqiao
  • Client
    • Client plop page
    • Client plop showing page
  • Server
  • Maintenance
  1. DataBase & Back End - Xiaofei
  • Server
  • Client & Server Database
  • Maintenance
npm steps
  1. Install express application generator
npm install express-generator -g
  1. create an express app named plop
express plop
  1. install dependencies
cd plop
npm install
  1. run the app
npm start

About

Webapp that allows user to live comment on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published