@fangcha/app-models
v0.5.0
Published
App Models.
Downloads
2
Readme
Backend Kit
- Read 《写一个 Node 后端应用》 for more details
Installation
# Use npm
npm install @fangcha/backend-kit
# Or use yarn
yarn add @fangcha/backend-kit
Usage
import { FangchaApp } from '@fangcha/backend-kit'
const app = new FangchaApp({
……
})
app.launch()
OR
import { WebApp } from '@fangcha/backend-kit/lib/router'
const app = new WebApp({
……
})
app.launch()