数据库代码生成器
开源地址:https://gitee.com/lesenro/DbCodeGenerator.git
本软件主要功能是为现有的数据库,生成功能代码。
目前提供两个项目模板
注意:模板基本要求,数据库表主键为int自增型Id,
1、前端模板react+ant.design
项目生成后,请使用npm install安装初始化项目,再修改ApiService.js的第44行的,
使用npm start启动项目
api_server常量地址为后台api地址,如:http://localhost:49954/
管理地址: http://localhost:3000/#/admin/
模板地址:https://gitee.com/lesenro/DbCodeGenerator/tree/master/tmpltest/react-antd
2、后端模板asp.net webapi (.net framework 4.5)
项目生成后,请还原NuGet程序包,再重新生成
模板地址:https://gitee.com/lesenro/DbCodeGenerator/tree/master/tmpltest/aspNetApi