A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ pnpm install
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
使用 nest 创建一个项目,首先先安装 Nest Cli:
$ npm i -g @nestjs/cli
然后通过 new 命令初始化项目目录:
$ nest new pin-anailysis
随后选择你喜欢的包管理器进行安装依赖,然后手动再安装几个后续需要使用到的依赖:
- @nestjs/schedule 定时任务
- puppeteer 爬虫
- @node-rs/jieba 关键词分析
- @nestjs/typeorm、typeorm、mysql2 数据库
import { load, extract } from '@node-rs/jieba';
分析沸点关键词和权重