ingress
v1.0.0-beta.16
Published
Composable nodejs applications
Downloads
123
Maintainers
Readme
Getting started (web):
//@filename: app.ts
import ingress, { Route } from "ingress";
class MyController {
@Route.Get("/greet/:name")
greeting(@Route.Param("name") name: string) {
return `Hello ${name}`
}
}
export const app = ingress(MyController)
//@filename: package.json
{
"scripts": {
"start": "ing start app.ts"
}
}
``