README
Skrapp's Ghost Player
Setup
- clone the repo
- run
npm install
from the root directory to install the dependencies - run
npm run dev
from the root directory to star tthe server - open a browser to http://localhost:8080/
- add the
id
url parameter to specify a ghost, e.g. http://localhost:8080/?id=400 - for the purpose of showing a working example, if no
id
is specified in the url parameters, the default id is362
About
Ghost Player is made up of several models, such as the Post, User, Image, etc. The Ghost Player is passed an id (how that's obtained is upto the application) and the Ghost Player will load the corresponding post from the server.
TODO
- add button to copy link to clipboard when reghosting
- add loading indicator for when post is being requested
- add handler for when post fails to load
- default avatar and images for when images fail to load
- responsive sizes for player
- cross-browser support. tested on Chrome and Firefox. Safari and IE need to be tested