UNPKG

lynx-framework

Version:

lynx is a NodeJS framework for Web Development, based on decorators and the async/await support.

9 lines (5 loc) 227 B
import { App, ConfigBuilder } from "./index"; const port = Number(process.env.PORT) || 3000; let myConfig = new ConfigBuilder(__dirname).setDatabase("lynx_cms").build(); const app = new App(myConfig); app.startServer(port);