According to the framework (a running framework)

Ruoyi Framework-front-end and back-end separated version (1)

Framework introduction

本身是一个优秀的简单的后台管理系统框架,前端(Vue,ElementUI),后端(Spring Boot、Spring Security、Redis & Jwt(JWT即JSON Web Token,是一种在两方之间以紧凑、可验证的形式传输信息的方式。此信息可以验证和信任,因为它是数字签名的。JWT 可以使用密钥(使用HMAC算法)或使用RSA或ECDSA的公钥/私钥对进行签名。)),本身可以直接拉下来直接使用.它的强大之处在于代码自动生成器的使用,可以根据数据库的表对应生成全套前后端代码,代码植入后可以直接使用,复杂业务只需在基础代码上进行修改增强即可.减少了重复代码的编写,提高了开发效率.
若依后台管理系统是一套完整的前后台综合框架,包括前台页面和后台Java,默认支持一常用的用户、角色、部门、岗位、菜单、权限、监控、定时任务等功能,还有强大的代码生成器,可以根据后台数据库表结构自动生成前后台代码。

For details, please visit: https://gitee.com/y_project/RuoYi-Vue

technology stack

TIP
前端技术栈 ES6、vue、vuex、vue-router、vue-cli、axios、element-ui
后端技术栈 SpringBoot、MyBatis、Spring Security、Jwt

Note: Operating environment

系统需求
JDK >= 1.8
MySQL >= 5.7
Maven >= 3.0
Node >= 12
Redis >= 3 
redis是一个key-value存储系统。Redis(Remote Dictionary Server ),即远程字典服务,是一个开源的、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。
一提到redis,自然而然就想到缓存,国内外中大型的网站都离不开缓存。合理的利用缓存,比如缓存热点数据,不仅可以提升网站的访问速度,还可以降低数据库DB的压力。
Redis的常用应用场景
·缓存
·排行榜
·计数器应用
·共享Session
·分布式锁
·社交网络
·消息队列
·位操作
redis下载链接https://github.com/tporadowski/redis/releases

Insert image description here
Insert image description here

1. If you download the source code, you can download it from the official website, or use the git clone method, so that you can update it at any time in the future.
源码下载
http://www.ruoyi.vip/

Please add image description

git克隆地址
https://gitee.com/y_project/RuoYi-Vue.git

Insert image description here

官方文档
http://doc.ruoyi.vip/ruoyi-vue/

Please add image description

2. Just open it with idea

Please add image description

Code structure
com.ruoyi

├── common // 工具类

│ └── annotation // 自定义注解

│ └── config // 全局配置

│ └── constant // 通用常量

│ └── core // 核心控制

│ └── enums // 通用枚举

│ └── exception // 通用异常

│ └── json // JSON数据处理

│ └── utils // 通用类处理

│ └── xss // XSS过滤处理

├── framework // 框架核心

│ └── aspectj // 注解实现

│ └── config // 系统配置

│ └── datasource // 数据权限

│ └── manager // 异步处理

│ └── shiro // 权限控制

│ └── util // 通用工具

│ └── web // 前端控制

├── ruoyi-generator // 代码生成(可移除)

├── ruoyi-quartz // 定时任务(可移除)

├── ruoyi-system // 系统代码

├── ruoyi-admin // 后台服务,启动类所在模块

├── ruoyi-xxxxxx // 其他模块
3. Import sql into the database

Please add image description
Please add image description

4. Open the project and run it

Link database

application-druid.yml file under ruoyi-admin file

Modify to your own database information

Please add image description
Please add image description
Please add image description
Started successfully
Please add image description

5. Separation of front and rear ends
Open ruoyi-ui using idea alone

Install plugin (settings/settings)Vue.js
Please add image description

idea prompts that npm install needs to be built

在终端中
npm install --registry=https://registry.npmmirror.com

Run the frontend

在终端中
npm run dev 
默认地址
http://localhost:80

Please add image description

6. Run successfully

If there is a verification code, the front and backends are started successfully. The default username is admin and the password is admin123.
Please add image description

Guess you like

Origin blog.csdn.net/lu947/article/details/127685055