Files
ZYZ/web-server
luying 70c5ee2bea Revert " feat(db): 给GiftCodeDetail添加只读库"
This reverts commit 2f9b489b237af4cd029e3d2724f50dc02c3ac6f6.
2023-05-22 19:40:43 +08:00
..
2023-05-06 16:04:57 +08:00
2023-04-21 20:44:03 +08:00
2020-12-15 18:08:29 +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+