mirror of
https://github.com/certd/certd.git
synced 2026-07-05 19:37:34 +08:00
32 lines
372 B
Markdown
32 lines
372 B
Markdown
|
|
# fast-server-js
|
||
|
|
|
||
|
|
base on midway
|
||
|
|
|
||
|
|
## QuickStart
|
||
|
|
|
||
|
|
<!-- add docs here for user -->
|
||
|
|
|
||
|
|
see [midway docs][midway] for more detail.
|
||
|
|
|
||
|
|
### Development
|
||
|
|
|
||
|
|
```bash
|
||
|
|
$ npm i
|
||
|
|
$ npm run dev
|
||
|
|
$ open http://localhost:7001/
|
||
|
|
```
|
||
|
|
|
||
|
|
### Deploy
|
||
|
|
|
||
|
|
```bash
|
||
|
|
$ npm start
|
||
|
|
```
|
||
|
|
|
||
|
|
### npm scripts
|
||
|
|
|
||
|
|
- Use `npm run lint` to check code style.
|
||
|
|
- Use `npm test` to run unit test.
|
||
|
|
|
||
|
|
|
||
|
|
[midway]: https://midwayjs.org
|