https://github.com/eightfeet/yugong-service
https://github.com/eightfeet/yugong-service
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eightfeet/yugong-service
- Owner: eightfeet
- Created: 2021-07-03T00:14:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-24T13:42:30.000Z (over 3 years ago)
- Last Synced: 2025-01-16T08:45:49.965Z (9 months ago)
- Language: TypeScript
- Size: 5.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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+