# hackernews-async-ts
[Hacker News](https://news.ycombinator.com/) showcase using typescript && egg + Squelize
## 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+
没有合适的资源?快使用搜索试试~ 我知道了~
Node + Egg + Squelize + jwt + TypeScript + mySql 实现的后端服务。此.zip
共64个文件
ts:52个
yml:3个
json:2个
需积分: 5 0 下载量 83 浏览量
2024-02-22
12:39:21
上传
评论
收藏 44KB ZIP 举报
温馨提示
Node + Egg + Squelize + jwt + TypeScript + mySql 实现的后端服务。此
资源推荐
资源详情
资源评论
收起资源包目录
Node + Egg + Squelize + jwt + TypeScript + mySql 实现的后端服务。此.zip (64个子文件)
kwan1117
.eslintrc 439B
.autod.conf.js 351B
.travis.yml 173B
.github
workflows
nodejs.yml 1KB
app
lib
constant.ts 906B
syncDatabase
index.ts 4KB
requestMapping
decorator
routerParams.decorator.ts 845B
httpMethod.decorator.ts 2KB
index.ts 10KB
controller
category
index.ts 2KB
role
index.ts 2KB
menu
index.ts 3KB
user
index.ts 3KB
paper
index.ts 4KB
utils
index.ts 2KB
router.ts 1KB
middleware
errorHandler.ts 310B
log.ts 786B
responseFormat.ts 938B
jwt.ts 2KB
service
role.ts 2KB
menu.ts 7KB
user.ts 5KB
category.ts 2KB
paper.ts 3KB
model
menu.ts 1KB
question.ts 1KB
user.ts 2KB
category.ts 1KB
roles.ts 1KB
exception
authenticationFailed.exception.ts 325B
paramFormatError.exception.ts 390B
operateNotAllowed.exception.ts 396B
http.exception.ts 507B
httpStatus.enum.ts 1KB
badRequest.exception.ts 369B
extend
helper.ts 486B
server.js 69B
app.ts 660B
package.json 2KB
interface
menu.ts 288B
question.ts 696B
user.ts 366B
test
app
controller
home.test.ts 279B
service
Test.test.ts 366B
typings
app
controller
index.d.ts 745B
index.d.ts 145B
middleware
index.d.ts 555B
service
index.d.ts 978B
model
index.d.ts 641B
extend
helper.d.ts 276B
index.d.ts 99B
config
plugin.d.ts 947B
index.d.ts 374B
.gitignore 198B
.eslintignore 24B
tsconfig.json 2KB
appveyor.yml 243B
README.md 586B
.yarnrc 32B
config
plugin.ts 529B
config.default.ts 4KB
config.local.ts 143B
config.prod.ts 143B
共 64 条
- 1
资源评论
Kwan的解忧杂货铺
- 粉丝: 2w+
- 资源: 3698
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功