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作为类型检测工具
- Host: GitHub
- URL: https://github.com/samsoncao/egg-node-server
- Owner: samsonCao
- Created: 2019-03-21T07:58:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T09:09:59.000Z (about 7 years ago)
- Last Synced: 2025-02-03T08:36:45.047Z (about 1 year ago)
- Topics: egg, framework, node, typescript
- Language: CSS
- Size: 152 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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+