README
test-app-angularjs
install
$ npm install
$ npm postinstall
start dev
$ npm start
build (in "dist" folder)
$ npm run build
publish to npm
$ npm publish
different port
$ export PORT=<port>
$ npm start
test
$ npm run test
Client-Server API
/rest/images
{
"data":[
{
"src": "...",
"title": "...",
"desc": "..."
},
...
]
}
/rest/data/#id
{
"data": {
"text": "...",
"author": "...",
"color": "..."
}
}