@iopa/edge-nodejs
v4.0.11
Published
HTTP Server for IOPA Edge Framework
Downloads
16
Readme
@iopa/edge-nodejs
About
This repository contains an HTTP Server for the IOPA Framework that runs as a Node process.
Usage
import { listen } from '@iopa/edge-nodejs'
const app: IRouterApp = new RouterApp()
app.build()
// Listen on process.env.PORT or 8082
async function startServer(): Promise<void> {
await listen(app)
}
void startServer()
License
Apache-2.0