Files
ZYZ/web-server
luying 5cfd22bbf4 Merge branch 'feature/hero' of gitlab.trgame.cn:zyztech/zyz_server
Conflicts:
	shared/consts/consts.ts
	shared/db/Role.ts
	web-server/app/service/Auth.ts
2020-12-14 11:17:02 +08:00
..
2020-12-04 10:19:42 +08:00
2020-11-13 18:06:53 +08:00
2020-12-04 10:19:42 +08:00
2020-09-13 14:02:41 +08:00

hackernews-async-ts

Hacker News showcase using typescript && egg

QuickStart

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

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+