1 Star 0 Fork 1

x-view / x-view

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

x-view

x-view - For faster and simpler project starter.

项目旨在提供标准化、简单化的项目基础控件及脚手架。

Document

基础功能

  • 前后端脚手架
  • 代码生成器
  • 用户管理
  • 资源(菜单)管理
  • 角色权限管理

项目构成

  • x-view-server-starter: 后端脚手架 说明
  • x-view-web-starter: 前端脚手架

快速开始

基础环境: MySQL,Nacos

初始步骤
后端
  1. 初始化数据库
  • 项目使用 MySQL 数据库
  • 使用sql目录下的脚本初始化数据库x_viewx_view_log
    • x_view: 业务数据库
    • x_view_log: 存储访问日志
  • 根据情况可以调整数据库名称
  1. 打开后端项目x-view-server-starter并配置 mysql 及 nacos 连接(默认 localhost 可以不配置)
  2. 启动后端 service 及 web 项目
  3. Optional: 重命名 package 包适配对应项目
前端
  1. cnpm i -> cnpm run dev

业务开发

  1. database-first 进行数据库设计,参考数据库设计规范
  2. 通过后端代码生成器生成基础代码
  • XViewCodeGenerator
  • 调整namespace moduleName genTables 等参数进行代码生成
  1. 根据需求进行个性化定制
  2. 前端参照DemoTable模块进行开发

技术体系

x-view-server-starter 后端脚手架
x-view-web-starter 前端脚手架
MIT License Copyright (c) 2021 YouthLee Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

x-view - For faster and simpler project starter. 基于SpringCloudAlibaba+MybatisPlus+Vue3+ElementPlus的前后端基础脚手架框架 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/x-view/x-view.git
git@gitee.com:x-view/x-view.git
x-view
x-view
x-view
master

搜索帮助