mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
🔱: [server] sync upgrade with 21 commits [trident-sync]
Update README.md
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# fast-server-js
|
||||
|
||||
base on midway
|
||||
|
||||
## QuickStart
|
||||
|
||||
> nodejs需要16以上
|
||||
|
||||
<!-- add docs here for user -->
|
||||
|
||||
|
||||
### Development
|
||||
|
||||
```bash
|
||||
$ npm i
|
||||
# 如果遇到sqlite安装失败时
|
||||
# 建议使用cnpm
|
||||
# npm install -g cnpm
|
||||
# cnpm install
|
||||
$ 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
|
||||
|
||||
see [midway docs][ https://midwayjs.org] for more detail.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user