UI Routes to existing Express/Restify App
See original GitHub issueI searched issues and couldn’t seem to find anything, is it possible to just add the Kue UI to my existing application?
For instance
var restify = require('restify');
var kue = require('kue');
var server = restify.createServer({
name: 'my-app',
version: '1.0.0',
});
// Setup Server
server.use(restify.acceptParser(server.acceptable));
server.pre(restify.fullResponse());
server.use(restify.dateParser());
server.use(restify.queryParser());
server.use(restify.jsonp());
// Send Kue UI routes to Kue
server.use('/kue', kue.ui);
// My actual routes:
server.blahblah()
server.listen( process.env.PORT || 8080 );
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
node js using express and restify together in one app
Is it possible I can use express and restify together in one application? var restify = require('restify'); var mongoose = require('mongoose'); var server...
Read more >Build a REST API with Node.js, Restify & MongoDB
In Depth Guide on Building a REST API with Node.js, Restify & MongoDB · 1. Create Your Directory · 2. Install Required Dependencies...
Read more >restify/node-restify - Gitter
Hello everyone! I'm looking for some information about creating NodeJS RESTful API server for mobile apps, maybe somebody knows, posts or tutorials? restify...
Read more >In Depth Guide on Building a REST API with Node.js, Restify ...
With the multitudes of JavaScript frameworks available these days, ... Express and Koa; however, Restify seems to be the clear winner.
Read more >Express Tutorial Part 4: Routes and controllers - MDN Web Docs
First we create routes for a wiki in a module named wiki.js. The code first imports the Express application object, uses it to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to get this to work locally with
However, I haven’t yet managed to get this to work on Heroku.
i’m having trouble with resify too.