35 Star 538 Fork 225

givebest / node-nest-vue-nuxt-cms

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.default.ts 646 Bytes
一键复制 编辑 原始数据 按行查看 历史
givebest 提交于 2022-08-08 08:34 . Update config.default.ts
import configLocal from './config.local';
import configProd from './config.prod';
import configUnittest from './config.unittest';
// 默认配置 - 会自动合并运行环境配置。
export default () =>
Object.assign(
// 默认配置
{
// 项目启动端口
port: 3000,
// 数据库配置
mysql: {
host: 'localhost',
port: 3306,
username: 'username',
password: 'password',
database: 'database',
synchronize: false,
},
},
{
local: configLocal,
pord: configProd,
unittest: configUnittest,
}[process.env.FM_SERVER_ENV](),
);
NodeJS
1
https://gitee.com/givebest/node-nest-vue-nuxt-cms.git
git@gitee.com:givebest/node-nest-vue-nuxt-cms.git
givebest
node-nest-vue-nuxt-cms
node-nest-vue-nuxt-cms
main

搜索帮助