node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

test-app-angular2

test-app-angular2

install

$ npm install
$ npm postinstall

start

$ npm start

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": "..."
        }
}