https://github.com/csjiabin/part-time-egg
part-time-egg
https://github.com/csjiabin/part-time-egg
alinode cheerio crawler egg eggjs mongo mongoose nightmare schedule ssr ts typescript vue vue-router vue-server-renderer vuex webpack
Last synced: 2 months ago
JSON representation
part-time-egg
- Host: GitHub
- URL: https://github.com/csjiabin/part-time-egg
- Owner: csjiabin
- License: mit
- Created: 2018-10-05T12:27:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T01:53:37.000Z (over 7 years ago)
- Last Synced: 2025-08-12T14:29:19.139Z (10 months ago)
- Topics: alinode, cheerio, crawler, egg, eggjs, mongo, mongoose, nightmare, schedule, ssr, ts, typescript, vue, vue-router, vue-server-renderer, vuex, webpack
- Language: TypeScript
- Homepage:
- Size: 933 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```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+