An open API service indexing awesome lists of open source software.

https://github.com/samsoncao/egg-node-server

用node实现的前后端分离开发的中间层,用egg作为开发框架,用typescript作为类型检测工具
https://github.com/samsoncao/egg-node-server

egg framework node typescript

Last synced: about 1 year ago
JSON representation

用node实现的前后端分离开发的中间层,用egg作为开发框架,用typescript作为类型检测工具

Awesome Lists containing this project

README

          

egg node 中间层

## QuickStart

### Development

```bash
$ npm i
$ npm run dev
$ open http://localhost:15012/
```

Don't tsc compile at development mode, if you had run `tsc` then you need to `npm run clean` before `npm run dev`.

### Deploy

```bash
$ npm run tsc
$ npm start
```

### Npm Scripts

- Use `npm run lint` to check code style
- Use `npm test` to run unit test
- se `npm run clean` to clean compiled js at development mode once

### Requirement

- Node.js 8.x
- Typescript 2.8+