Files
ZYZ/gm-server
2023-08-03 10:37:41 +08:00
..
2023-08-03 10:37:41 +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
2023-06-03 20:02:38 +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+