UI Routes to existing Express/Restify App
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 858
- PR merge metrics
- No merged PRs in 30d
Description
I 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 );
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the kue.ui entry point and the Restify server.use('/kue', kue.ui) example in the issue. Check how Kue UI routes are mounted and whether the existing application can serve them under /kue; done means the UI loads at that path without breaking the application's other routes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, javascript, node.js
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100