前进之路 发表于 2024-5-19 23:46:38

完全开源可商用!一个简洁、高效、安全的快速开发平台!

各人好,我是 Java陈序员。
问君能有几多愁,开源项目解千愁!
本日,给各人介绍一个快速开发平台,完全开源可商用!
关注微信公众号:【Java陈序员】,获取开源项目分享、AI副业分享、超200本经典计算机电子册本等。
项目介绍

SmartAdmin —— 一个简洁、高效、安全的快速开发平台,以高质量代码为核心,具有一套整齐的代码规范。
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110159.png
SmartAdmin 是国内首个满意《网络安全》、《数据安全》、三级等保,支持登录限制、支持接口国产加解密、支持数据加解密等一系列安全措施的开源项目。
SmartAdmin 支持MIT协议,作者只想保存版权,而无任何其他限制。以是,可以商用!想怎么用就怎么用!
功能特色:
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512180829.png
技术体系:

[*]后端:SpringBoot + Sa Token + Mybatis-plus + 多种数据库
[*]前端:Vue3 + Vite5 + Vue-Router + Pinia + Ant Design Vue 4.X
[*]移动端:uniapp (vue3版本) + uni-ui + (同时支持APP、小步伐、H5)
项目截图

PC 端
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110352.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110423.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110452.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110533.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110603.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110624.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110657.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110719.png
移动端
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110738.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/SmartAdmin/img-20240512110753.png
快速开始

前期预备

1、情况预备:

[*]Java 8+
[*]MySQL 5.7+
[*]Redis
[*]Node.js 18+
2、拉取代码
git clone https://github.com/1024-lab/smart-admin.git后端代码:在 smart-admin-api 目次,Maven 的项目结构
前端代码:在 smart-admin-web 目次,此中有 JavaScript 和 TypeScript 两个版本
数据库 SQL 脚本, 在 smart_admin_v3.sql 文件中
启动后端

1、执行项目根目次下的 smart_admin_v3.sql SQL 文件,初始化数据库
2、将 smart-admin-api 项目以 Maven 的方式导入到 IDEA
3、修改 sa-base 中的配置文件 sa-base.yaml
需要修改数据库、Redis、文件上传(可选)的配置信息。
spring:
# 数据库连接信息
datasource:
    url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
    username: root
    password: Zhuoda1024lab

# redis 连接池配置信息
redis:
    database: 1
    host: 127.0.0.1
    port: 6379
    password:

# 文件上传 配置
file:
storage:
    mode: local
    local:
      upload-path: /home/smart_admin_v3/upload/   #文件上传目录
      url-prefix:
    cloud:
      region: oss-cn-hangzhou
      endpoint: oss-cn-hangzhou.aliyuncs.com
      bucket-name: 1024lab-smart-admin
      access-key:
      secret-key:
      url-prefix: https://${file.storage.cloud.bucket-name}.${file.storage.cloud.endpoint}/
      private-url-expire-seconds: 36004、修改 sa-admin 中的配置文件 application.yaml
修改日志目次 log-directory,此目次为 log4j2 的目次和 Tomcat 日志目次。
project:
name: sa-admin
log-directory: /home/smart-admin/${project.name}/${spring.profiles.active}5、进入 sa-admin,执行 net.lab1024.sa.admin.AdminApplication 主启动类
6、启动成功后,访问 Swagger 文档地址
http://localhost:1024/swagger-ui/index.html账号:api 密码:1024
启动前端

1、根据本身的编程喜欢,选择 JavaScript 版本大概是 TypeScript 版本
2、安装依赖
npm install3、运行项目
npm run dev4、浏览器访问
http://localhost:8080/账号/密码:admin/123456
最后,贴上项目地址,快去体验吧~
https://github.com/1024-lab/smart-admin最后

保举的开源项目已经收录到 GitHub 项目,欢迎 Star:
https://github.com/chenyl8848/great-open-source-project大概访问网站,进行在线浏览:
https://chencoding.top:8090/#/各人的点赞、收藏和评论都是对作者的支持,如文章对你有资助还请点赞转发支持下,谢谢!

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: 完全开源可商用!一个简洁、高效、安全的快速开发平台!