random-song // [Desenvolvimento Web I] LaSalle Canoas
To check it running: access on heroku
To run local you'll need:
After install Node, run:
npm install
- It'll install dependencies that are described in package.json
With all dependencies installed, simply run:
npm start
- It'll run tsc
task that compile (or transpile) Typescript to Javascript
And subsequently run node server.js
task that starts a express server to run Angular2, Angular2 (or even 1) needs at least a basic http server to get up.
To change artist, update app.settings.ts to get artist's uri follow this instructions. Currently it isn't dynamic, so update the file and restart the server.