bytesized.tv
Byte-Sized JavaScript Website
- write mocha tests for youtube api. Use nock for youtube responses: https://github.com/node-nock/nock (what are the disadvantages; versus advantages: advantage makes tests reliable and deterministic)
Create a universal hello-world app.
- create a App react component
- save the rendered output as HTML
- whenever a new video is published, that html should be rerendered too.
universal app: https://github.com/DavidWells/isomorphic-react-example
later:
- test backend methods using Mocha (the json generators and stuff)
- test front-end components using Karma and mocha
TODO:
- Generate an index.html from videos.json that lists the videos embeds a player etc. it should also have dynamic functionality:
- tapping a specific tag will show only the videos related to that tag.
- the page will display all videos with thumbnails and a play icon which will dynamically start the play / embed youtube player etc.
- add sorting for fun: sort by date created, popularity, alphabetically