Skip to content

dyggod/nest-fluebot

Repository files navigation

描述

使用Nest搭建的node项目,作为packbox的业务服务。

安装依赖

$ npm install

添加配置文件

本项目使用mongodb数据库,使用nest提供的@nestjs/mongoose作为ORM。 当你想要真正连接数据库时,请做如下操作:

  1. 复制一份本项目根目录下的.mongodb.sample.env文件中的内容放在同一目录下,并命名为.mongodb.env
  2. 修改.mongodb.env中的配置参数的值为你实际的数据库配置

运行程序

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

测试

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Licenses

Nest is MIT licensed.

提供贡献

About

这是一个使用nest.js构建的后端项目

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published