# create-action-server

> 1. create ```app.ts``` 👇

Latest version **0.0.3** (published 2020-07-01) · 0 weekly downloads

## Install

```sh
npm install create-action-server
pnpm add create-action-server
yarn add create-action-server
bun add create-action-server
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-07-01 |
| First published | 2020-05-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 45.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | heanxu |

## Links

- npm: https://www.npmjs.com/package/create-action-server
- npm.io page: https://npm.io/package/create-action-server

## Dependencies (4)

- [express](https://npm.io/package/express.md) ^4.17.1
- [underscore](https://npm.io/package/underscore.md) ^1.10.2
- [body-parser](https://npm.io/package/body-parser.md) ^1.19.0
- [@types/underscore](https://npm.io/package/@types/underscore.md) ^1.10.0

## Recent versions

- 0.0.3 (latest) — 2020-07-01
- 0.0.2 — 2020-07-01
- 0.0.1 — 2020-05-06

## README

1. create ```app.ts``` 👇

```js
  import * as createApp  from 'create-app-ts'

  const app = createApp()

  app.listen(23333)

```

2. mkdir ```/api``` 

then you can add your first action api to ```/api``` like test.ts👇

```
.
├── api
│   └── testApi.ts
└── app.ts


```

start your server...

3. get a request

```
  {
    "Action": "testApi",
    "testParam": 1
  }
```

more usage...

---
_Source: https://npm.io/package/create-action-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
