Skip to content

Instantly share code, notes, and snippets.

@sean3z
Last active May 30, 2018 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sean3z/77857487d25fe52eaea92e9fa9dc4f32 to your computer and use it in GitHub Desktop.
Save sean3z/77857487d25fe52eaea92e9fa9dc4f32 to your computer and use it in GitHub Desktop.
Restify JWT example skeleton
"use strict";
const restify = require('restify');
const config = require('./config');
const app = restify.createServer();
app.use(restify.plugins.queryParser());
app.use(restify.plugins.bodyParser());
app.listen(8080, () => {
console.log('%s listening at %s', app.name, app.url);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment