Composable nodejs applications


Keywords
typescript, server, http, application, framework, composable, declarative, middleware, application-framework, javascript, node-js, nodejs
License
MIT
Install
npm install ingress@1.0.0-beta.16

Documentation

ingress logo

install: npm i ingress

a utility for building applications using TypeScript or JavaScript

Ingress CI Version License

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"
    }
}
``