MG b0ead3f8c9 no message 1 rok temu
..
.vscode af1c66a46c init 1 rok temu
lock b0ead3f8c9 no message 1 rok temu
patches af1c66a46c init 1 rok temu
public af1c66a46c init 1 rok temu
src b0ead3f8c9 no message 1 rok temu
test af1c66a46c init 1 rok temu
typings af1c66a46c init 1 rok temu
view b0ead3f8c9 no message 1 rok temu
.dockerignore af1c66a46c init 1 rok temu
.editorconfig af1c66a46c init 1 rok temu
.eslintrc.json af1c66a46c init 1 rok temu
.gitattributes af1c66a46c init 1 rok temu
.gitignore af1c66a46c init 1 rok temu
.hintrc af1c66a46c init 1 rok temu
.prettierrc.js af1c66a46c init 1 rok temu
Dockerfile af1c66a46c init 1 rok temu
LICENSE af1c66a46c init 1 rok temu
README.md af1c66a46c init 1 rok temu
bootstrap.js af1c66a46c init 1 rok temu
docker-compose.yml af1c66a46c init 1 rok temu
jest.config.js af1c66a46c init 1 rok temu
package.json b0ead3f8c9 no message 1 rok temu
tsconfig.json af1c66a46c init 1 rok temu

README.md

创建数据库

在pg数据库中创建一个贴合实际项目名称的数据库名称

修改congfig

1. 修改src/config/config.default.ts中的端口,改成实际用的端口,如果后台有文件上传,也需要改file的端口
2. 修改src/config/config.local.ts中的database的名称,改成项目创建的数据库名称
3. 修改src/config/config.prod.ts中的database的名称,改成项目创建的数据库名称

运行项目

1. npm install
2. npm run dev
3. npm run build