create-action-server
v0.0.3
Published
1. create ```app.ts``` ๐
Downloads
4
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...