.onedev-buildspec.yml Loading last commit info...
src
.eslintrc.js
.gitignore
.prettierrc
LICENSE
README.md
nest-cli.json
package.json
pnpm-lock.yaml
tsconfig.build.json
tsconfig.json
README.md

Nest Logo

基于 Nest.js 进行开发的后端项目

Node Version NPM Version License

简介

本项目是日记项目的后端,无法单独使用,需要配合前端使用

Gitee Github AmeDev

安装

$ npm install -g pnpm #if you don't have pnpm
$ pnpm install

运行

# development and debug mode
$ pnpm run start:debug

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

构建

# build but files are scattered
$ pnpm run build

# build and only generate one main file(main.js)
$ pnpm run build:one

注意

框架在构建时不同于vue项目会打包出一个开箱即用的整体;它是不包含环境的,需要把node_modules中的环境文件复制一份才可以运行,如果不想麻烦可以访问我自己的流水线下载带环境的包

开箱即用的包

Distribution on AmeDev
Please wait...
Page is in error, reload to recover