https://github.com/dmoosocool/dmapi
https://github.com/dmoosocool/dmapi
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmoosocool/dmapi
- Owner: dmoosocool
- Created: 2018-08-13T10:35:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T10:35:56.000Z (almost 8 years ago)
- Last Synced: 2025-06-28T12:53:54.213Z (about 1 year ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- 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+