##Plop Live Commenting Webapp README##
The purpose of [Plop Live Commenting] is to plop any questions students have directly on professor's slides during lecture.
- 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--->|
- Put send.js and show.js into the /routes folder
-
Add views/index.jade, css file stylesheets/index.css, javascipts/index.js
-
Only static effect works in this case.
-
router/index.js shows the html file views/index.jade
-
Polish needed!!!!!
-
Use socket.io in index.js
-
Now Dynamic part works
-
add config.JSON including modes, fond, animation
-
router/send.js shows the html file views/send.jage
-
login page needed router/login.js shows the login page views/login.jage
-
Polish needed!!!!
#####Bluemix Command#####
- connect to IBM Bluemix
bluemix api https://api.ng.bluemix.net
- log in to Bluemix
bluemix login -u username
- push to Bluemix repository
cf push "app_name"
- Access app in your browser
host.mybluemix.net
- Powerpoint for javascript and HTML5
http://devzum.com/2014/11/10-best-javascript-and-html5-presentation-frameworks/
#####Work Distribution#####
- Front End - Logan
- Login Page
- Web Based Ppt
- Page Polish
- Maintenance
- Front End - Yangqiao
- Client
- Client plop page
- Client plop showing page
- Server
- Maintenance
- DataBase & Back End - Xiaofei
- Server
- Client & Server Database
- Maintenance
- Install express application generator
npm install express-generator -g
- create an express app named plop
express plop
- install dependencies
cd plop
npm install
- run the app
npm start