little-node-mvc

1.0.3 • Public • Published

little-node-mvc

a mini mvc nodejs framework

usage

const { App } = require('little-node-mvc');

const app = new App();

const port = 8080;
const hostAddress = '0.0.0.0';

app.listen(port, hostAddress, () => {
  console.log(`app start at: http://${hostAddress}:${port}`);
})

访问http://0.0.0.0:8080/do_not_delete/health_check

使用方法详见little-node-mvc-template

Readme

Keywords

Package Sidebar

Install

npm i little-node-mvc

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

12.1 kB

Total Files

20

Last publish

Collaborators

  • deepred