Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tashuo/nestjs-learn

nestjs学习
https://github.com/tashuo/nestjs-learn

nestjs typeorm

Last synced: about 2 months ago
JSON representation

nestjs学习

Awesome Lists containing this project

README

        


Nest Logo

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

A progressive Node.js framework for building efficient and scalable server-side applications.



NPM Version
Package License
NPM Downloads
CircleCI
Coverage
Discord
Backers on Open Collective
Sponsors on Open Collective

Support us


## Description
phper从零开始学习`typescript` && `nestjs` 框架全记录

## Installation

```bash
$ pnpm i

$ pnpm typeorm:run-migrations # run migrations
```

## Running the app

```bash
# watch mode
$ pnpm start:dev

# debug mode
$ pnpm start:debug

# production mode
$ pnpm run start:prod
```

## Test

```bash
# unit tests
$ pnpm test

# e2e tests
$ pnpm test:e2e

# test coverage
$ pnpm test:cov
```

## Features
- [x] 配置文件
- [x] 日志系统
- [x] 异常捕获Filter
- [x] 自定义装饰器
- [x] jwt鉴权
- [x] 异步队列
- [x] typeorm(migrate&&relations)
- [x] crud组件
- [x] 单元测试
- [x] 接口文档
- [ ] 其他
- [ ] e2e测试用例自动开启事务
- [x] 接口文档CommonResponseDto

## License

Nest is [MIT licensed](LICENSE).