DAVIDS/implicit_grant/app.js

15 lines
456 B
JavaScript
Raw Normal View History

2014-05-14 10:27:27 +02:00
/**
* This is an example of a basic node.js script that performs
* the Implicit Grant oAuth2 flow to authenticate against
* the Spotify Accounts.
*
* For more information, read
2014-06-17 10:25:03 +02:00
* https://developer.spotify.com/web-api/authorization-guide/#implicit_grant_flow
2014-05-14 10:27:27 +02:00
*/
var express = require('express'); // Express web server framework
var app = express();
app.use(express.static(__dirname + '/public'));
console.log('Listening on 8888');
2014-05-14 10:27:27 +02:00
app.listen(8888);