【文件属性】:
文件名称:rapidfire:基于Express的Web服务器框架
文件大小:317KB
文件格式:ZIP
更新时间:2021-03-10 22:33:01
JavaScript
熊熊大火
基于Express的WebServer框架
快速开始
安装
npm i -S @luasenvy/rapidfire
启动Web服务器
const { RapidFire } = require('@luasenvy/rapidfire')
const rapidFire = new RapidFire({ host: 'localhost', port: 8000 })
rapidFire.ignition()
http://localhost:8000将响应Cannot GET /
益处
仅使用Express和ESModule 。
使目录结构成为您所需要的。
快速制定项目结构。
简单的生命周期。
路线图
核
基本目录结构
中间件订购和管道
介面
控制器
服务加载器
服务
中间件
文献资料
例子
express-graphql与elasticsea
【文件预览】:
rapidfire-master
----docs-src()
--------tutorials()
--------statics()
----.eslintrc.js(595B)
----src()
--------core()
--------interfaces()
--------index.js(535B)
----.npmignore(58B)
----LICENSE(438B)
----test()
--------interface.test.js(557B)
--------core.test.js(356B)
----README.md(2KB)
----docs()
--------interfaces_Middleware.js.html(8KB)
--------Controller.html(10KB)
--------core_RapidFire.js.html(16KB)
--------index.html(9KB)
--------ServiceLoader.html(11KB)
--------global.html(13KB)
--------styles()
--------tutorial-Controller And Service.html(7KB)
--------tutorial-08.Events.html(7KB)
--------tutorial-02.ControllerAndService.html(9KB)
--------images()
--------scripts()
--------tutorial-09.ReuseServiceFunction.html(8KB)
--------module-Modules.html(10KB)
--------CNAME(21B)
--------tutorial-03.Middleware.html(8KB)
--------tutorial-99.Examples.html(8KB)
--------index.js.html(8KB)
--------tutorial-07.Lifecycle.html(8KB)
--------interfaces_ServiceLoader.js.html(8KB)
--------tutorial-04.ServiceLoader.html(9KB)
--------Middleware.html(11KB)
--------tutorial-06.CustomInterface.html(8KB)
--------RapidFire.html(26KB)
--------interfaces_Controller.js.html(8KB)
--------tutorial-01.GettingStart.html(7KB)
--------Service.html(12KB)
--------tutorial-Database Connection.html(7KB)
--------interfaces_Service.js.html(8KB)
--------tutorial-05.UsingDatabase.html(9KB)
----.lintstagedrc.js(78B)
----.gitignore(1KB)
----jsdoc.config.js(703B)
----package-lock.json(897KB)
----package.json(1KB)