333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# hackernews-async-ts
 
[Hacker News](https://news.ycombinator.com/) showcase using typescript && egg
 
## QuickStart
 
### Development
 
```bash
$ 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  33333
 
```bash
$ 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+