Files
ZYZ/gm-server
luying 7bc9e1fe49 Revert " feat(db): 修改role表数据库操作方式"
This reverts commit e39af3649288cc5802739cfe862c818fe56e194e.
2023-05-22 19:43:21 +08:00
..
2020-09-22 11:09:15 +08:00
2023-02-17 10:58:03 +08:00
2020-09-22 11:09:15 +08:00
2020-09-22 11:09:15 +08:00
2020-09-22 11:09:15 +08:00
2020-09-22 11:09:15 +08:00
2020-09-22 11:09:15 +08:00
2020-09-22 11:09:15 +08:00
2021-12-17 19:17:05 +08:00
2022-09-14 17:41:05 +08:00
2020-09-22 11:09:15 +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+