- Read 《写一个 Node 后端应用》 for more details
# Use npm
npm install @fangcha/backend-kit
# Or use yarn
yarn add @fangcha/backend-kit
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()