Created
March 10, 2019 15:05
-
-
Save klogic/3ab92061d567967ed41bb1b71e843d45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Response, Request } from "express"; | |
const kue = require("kue"); | |
const express = require("express"); | |
const app = express(); | |
const port = 3000; | |
app.get("/", (req: Request, res: Response) => { | |
res.send("Hello World!"); | |
}); | |
app.use("/kue-api/", kue.app); | |
app.listen(port, () => console.log(`Example app listening on port ${port}!`)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment