Skip to content

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

Notifications You must be signed in to change notification settings

samsonCao/egg-node-server

Repository files navigation

egg node 中间层

QuickStart

Development

$ 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

$ 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+

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published