'use strict';

var http = require('http'),
    spotify = require('spotify-node-applescript');

var cb = function(request, response) {

  debugger;

  response.writeHead(200, {'Content-Type': 'text/html'});
  response.write('Hello spotkula servereerer!');
  response.end();
};

http.createServer(cb).listen(3000, 'localhost');

'use strict';

var http = require('http'),
    spotify = require('spotify-node-applescript'),
    express = require('express');

var app = express();

app.get('/', function (request, response) {
  response.send('ok');
});

app.listen(3000);
console.log("Listening on port 3000");


Reimplement basic server as express app
Reimplement basic server as express app
