Skip to content

codexu/pin-analysis

Repository files navigation

Nest Logo

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

Nest framework TypeScript starter repository.

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Support

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.

Stay in touch

License

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';

分析沸点关键词和权重

About

掘金热门沸点分析

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published