Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellyiscute/blog-node-backend
https://github.com/kellyiscute/blog-node-backend
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kellyiscute/blog-node-backend
- Owner: kellyiscute
- Created: 2020-11-02T14:20:59.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T15:08:02.000Z (about 4 years ago)
- Last Synced: 2024-12-13T06:32:50.993Z (27 days ago)
- Language: TypeScript
- Size: 26.4 KB
- 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+