create-action-server
v0.0.3
Published
1. create ```app.ts``` ๐
Readme
- create
app.ts๐
import * as createApp from 'create-app-ts'
const app = createApp()
app.listen(23333)
- mkdir
/api
then you can add your first action api to /api like test.ts๐
.
โโโ api
โย ย โโโ testApi.ts
โโโ app.ts
start your server...
- get a request
{
"Action": "testApi",
"testParam": 1
}more usage...
