# straw **Repository Path**: jeanlv/straw ## Basic Information - **Project Name**: straw - **Description**: 基于SpringBoot3 + Vue3实现前后端分离项目学习 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-17 - **Last Updated**: 2024-07-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SpringBoot3 + Vue3前后端分离项目学习 ## 技术栈 ### 后端 - JDK17 - SpringBoot3.X - SpringSecurity6.X - MySQL8.X - MyBatis-Plus3.5.X - JWT - Redis7 - maven - 等其他工具类技术 ### 前端 - Node.js 20.X - Vue3 - vue-router4 - pinia - vite - Element-plus ### 其他工具 - nginx - git ## 构建后端项目 使用maven构建, - 父工程:定义依赖,并不实现什么代码 - common模块:主要定义使用的公共模块,工具类 - support模块:定义项目中的核心支持,如SpringSecurity,redis等 - starter模块:定义项目入口 - 各种业务模块:user模块、system模块 ## 模块间的关联关系 parent模块:父工程,作用是定义依赖和版本,并不是实现任何功能 ``` |-----common模块:定义一些最基础,通用的工具类或者公用的类,比如lombok,hutool |-----support模块:核心配置模块,做一些项目中引入的第三方组件的配置,比如:MyBatisPlus、SpringSecurity、Redis、支付,support依赖common模块 |-----业务模块:主要实现系统功能,auth认证模块,用户模块,菜单模块,系统模块,代码生成模块,支付模块,数据分析模块,这些模块依赖support模块 |-----入口模块:依赖其他的业务模块,提供一个项目入口即可 ``` common是最基础的模块--------》被support模块引用------》support被其他的业务模块引用-------》auth/sysuser/引用----------》被starter模块引用 ## 权限模块开发流程 - 前端login页面开发 - 后端SpringSecurity配置 - 后端login接口开发 - 前端页面框架搭建 - 前端路由守卫,状态管理开发 - 前后端完成认证流程