All Projects → 734839030 → seezoon-stack

734839030 / seezoon-stack

Licence: MIT license
一款基于当前最前沿的前端(Vue3 + Vite + Antdv)和后台(Spring boot)实现的低代码开发平台。

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
Less
1899 projects
Smarty
1635 projects
typescript
32286 projects
PLpgSQL
1095 projects

Projects that are alternatives of or similar to seezoon-stack

soybean-admin
A fresh and elegant admin template, based on Vue3,Vite3,TypeScript,NaiveUI and UnoCSS [一个基于Vue3、Vite3、TypeScript、NaiveUI 和 UnoCSS的清新优雅的中后台模版]
Stars: ✭ 2,322 (+922.91%)
Mutual labels:  admin-dashboard, vue3, vite
tailwind-layouts
Collection of Tailwind Layouts
Stars: ✭ 53 (-76.65%)
Mutual labels:  vue3, vite
Admin-Frame-Vue3
基于Vue3 + Element-Plus + Vite 开发的中/后台管理系统
Stars: ✭ 181 (-20.26%)
Mutual labels:  vue3, vite
iro
IRO - Amazing Color Tools. Color Convert HEX, RGB, HSL and CMYK. Color Inspection with Camera.
Stars: ✭ 103 (-54.63%)
Mutual labels:  vue3, vite
fastadmin
vue3 + element-plus fast admin scaffold, 基于vue3和ElementPlus的中后台快速应用脚手架
Stars: ✭ 50 (-77.97%)
Mutual labels:  vue3, vite
vue-component-lib-starter
A bare-bones example of creating your own Vue component library.
Stars: ✭ 221 (-2.64%)
Mutual labels:  vue3, vite
vue-lite-admin
a lite vue3.0 admin template,there is no typescript and vuex (但注释挺全)
Stars: ✭ 67 (-70.48%)
Mutual labels:  vue3, vite
rustplatz
(Inoffizielle) Website für das Rust-Projekt von Dhalucard, Bonjwa und RocketBeans
Stars: ✭ 15 (-93.39%)
Mutual labels:  vue3, vite
vueuse-vite-starter
⚡️ Starter for Vite + VueUse + TypeScript
Stars: ✭ 121 (-46.7%)
Mutual labels:  vue3, vite
preview-pro
Use pro-layout in vitejs. preview https://sendya.github.io/preview-pro/index.html
Stars: ✭ 71 (-68.72%)
Mutual labels:  vue3, vite
artemis
MateCloud前端代码,基于vue3、vite、pinia、ant-design vue实现的中台系统
Stars: ✭ 129 (-43.17%)
Mutual labels:  vue3, vite
mosha-vue-toastify
A light weight and fun Vue 3 toast or notification or snack bar or however you wanna call it library.
Stars: ✭ 185 (-18.5%)
Mutual labels:  vue3, vite
chengpeiquan.com
My personal website. Base on Vite 2.0 and Vue 3.0. If you want to know how to use Vite to develop a project, you can refer to this repository.
Stars: ✭ 43 (-81.06%)
Mutual labels:  vue3, vite
win7
Yet another OS preview via web technologies focused on Microsoft Windows 7.
Stars: ✭ 93 (-59.03%)
Mutual labels:  vue3, vite
vue-next-admin
🎉🎉🔥基于vue3.x 、Typescript、vite、Element plus等,适配手机、平板、pc 的后台开源免费模板库(vue2.x请切换vue-prev-admin分支)
Stars: ✭ 1,002 (+341.41%)
Mutual labels:  vue3, vite
RuoYi-Cloud-Vue3
🎉 基于Spring Boot、Spring Cloud & Alibaba、Vue3 & Vite、Element Plus的分布式前后端分离微服务架构权限管理系统
Stars: ✭ 295 (+29.96%)
Mutual labels:  vue3, vite
Vue Admin Beautiful
🚀🚀🚀vue3 admin,vue3.0 admin,vue后台管理,vue-admin,vue3.0-admin,admin,vue-admin,vue-element-admin,ant-design,vue-admin-beautiful-pro,vab admin pro,vab admin plus主线版本基于element-plus、element-ui、ant-design-vue三者并行开发维护,同时支持电脑,手机,平板,切换分支查看不同的vue版本,element-plus版本已发布(vue3,vue3.0,vue,vue3.x,vue.js)
Stars: ✭ 10,968 (+4731.72%)
Mutual labels:  admin-dashboard, vue3
tailwind-dashboard-template
Mosaic Lite is a free admin dashboard template built on top of Tailwind CSS and fully coded in React. Made by
Stars: ✭ 1,662 (+632.16%)
Mutual labels:  admin-dashboard, vite
vue-devui-early
Vue3版本的DevUI组件库。本仓库已迁移至:https://github.com/DevCloudFE/vue-devui
Stars: ✭ 39 (-82.82%)
Mutual labels:  vue3, vite
app
专门为互联网人打造的题解神器,神器在手,工作不愁
Stars: ✭ 64 (-71.81%)
Mutual labels:  vue3, vite

seezoon

简介

Seezoon Stack快速开发为目的,在开发速度和代码结构上做出一定取舍,无论如何,你将看到非常地道的 Java 常用开发框架使用。该项目采用主流开发框架,无论打包、编译、部署都按着大公司的标准完成并不断逐步完善。

💻 在线演示

详细文档及演示地址: https://doc.stack.seezoon.com

账号:admin

密码:123456 当前阿里云服务器到期,文档可以访问,系统暂时无法访问了.

部分效果图:

image-20210422205522263

image-20210422205553804

image-20210422205738456

技术选型

Seezoon Stack 采用当下最前沿前后端的技术栈完成。

后台主要框架:

框架名称 框架地址 说明
Spring Boot https://spring.io/projects/spring-boot 自动装配
Spring Session Data Redis https://spring.io/projects/spring-session-data-redis 登录态管理
Spring Security https://spring.io/projects/spring-security 登录及权限控制
Mybatis https://mybatis.org/mybatis-3/zh/index.html 持久层
Springfox https://github.com/springfox/springfox openAPI 3 文档

特性

  • JSR303 验证、标准API模型,错误码、异常处理封装
  • 请求埋点,返回头添加X-Trace-Id,通过MDC在日志中埋入线程ID;
  • Redis 封装,序列化
  • RestTemplate 线程池、证书请求及默认属性约定
  • Spring Boot 异步线程配置
  • 跨域支持
  • 基于openAPI 3.0 规范的自动生成文档
  • 前后端一体化代码生成
  • 登录及权限控制
  • 文件处理,支持磁盘文件和阿里云OSS
  • 国际化
  • 通用数据权限
  • 动态菜单&按钮

优先级较低的功能(TODO):

  • 阿里云短信
  • Excel 处理
  • 微信公众号、小程序相关,登录,支付等常用封装
  • 云原生部署及编排文档

前台主要框架:

框架名称 框架地址 说明
Vue 3 https://v3.cn.vuejs.org/guide/introduction.html 双向绑定
Vite https://cn.vitejs.dev/ 构建工具
Ant Design Vue 2 https://2x.antdv.com/components/overview-cn/ 组件
TypeScript 4 https://www.typescriptlang.org/zh/ JavaScript 超集
Windi Css https://windicss.org/guide/ css 辅助类
Iconify https://iconify.design/ 图标库

前端框架 fork Vue vben admin 2.0,定期会合并上游特性,具体组件请参考 Vben admin 文档。在此也感谢Vben admin 对该项目提供的帮助。

前端主要采用Ant Design Vue 2 作为主要组件库,降低学习成本,主体框架均为TypeScript,业务功能采用JavaScript编写,针对快速开发JavaScript 代码量较为简洁,速度较快。

环境准备

  • JDK 1.8 + (建议11)
  • Maven 3 +
  • Node 12 +
  • Yarn(安装完node,可用npm install -g yarn
  • Redis
  • Mysql 5.7 + (建议8)

🚀 快速开始

代码下载

可以通过 IDEA File->New->Project From Version Control 导入,也可以通过命令下载后导入。

建议fork 后到自己仓库后再导入,方便后续同步更新。

git clone https://github.com/734839030/seezoon-stack.git

工程结构

​```
.
└── seezoon-stack   parent工程
    ├── build 构建所需文件
    │   ├── assembly    生成产出物结构
    │   │   ├── bin     项目脚本
    │   │   ├── conf    配置目录
    │   │   ├── logs    日志目录
    │   │   └── assembly.xml     maven assembly 打包插件描述文件(不打包到产出物)
    │   ├── build.sh    构建脚本
    │   ├── eclipse-codestyle.xml  P3C代码格式,可以自行更新
    │   ├── maven-settings.xml     maven的setting配置(可选)
    │   └── mybatis-generator-config.xml  原生mybatis-generator 描述文件(可选)
    ├── db DB脚本目录
    ├── doc 项目文档及资料维护目录
    ├── seezoon-admin-server  管理端服务
    ├── seezoon-admin-web  后台页面目前fork上游,代码库单独维护稳定后合并
    ├── seezoon-dao    DAO层,方便管理端和C端引用
    ├── seezoon-framework  管理端和C端通用框架层(基础中间件,参数验证,安全控制)
    ├── seezoon-generator  通用代码生成器,可以单独使用也可以供其他组件继承使用
    └── seezoon-user-server  C端服务端TODO
​```

后台

  • 初始化DB脚本

    脚本见db/seezoon-stack.sql

  • 配置seezoon-admin-server

    在如下配置文件配置DBRedis账号密码

    seezoon-admin-server/src/main/resources/application-local.properties

  • IDEA中启动后台

执行如下类中Main方法(如果报依赖错误,可以执行parent 工程mvn package)

seezoon-admin-server/src/main/java/com/seezoon/admin/AdminMain.java

前台

  • 安装依赖并启动

    cd seezoon-stack/seezoon-admin-web
    yarn install
    yarn serve 
    
    # 访问地址
    http://localhost:3100/
    
  • 本地测试文件服务器(可选)

    cd seezoon-admin-web/test/server/upload
    yarn install
    yarn start
    
    # 管理端上传文件后,可以直接访问地址static目录静态文件
    http://localhost:3001/static/xxxx
    

生产环境部署

线上目录结构,

/data/
│── cert
├── seezoon-admin-server  # 后台产出物
│   ├── bin
│   ├── conf
│   ├── logs
│   └── work
├── seezoon-admin-web    # 前端产出物
│   ├── assets
│   └── resource
└── upload-server  文件上传目录,默认使用磁盘文件,使用OSS则不需要.

😇 手工部署-后台

线上环境安装Java 1.8 + ,推荐11。

采用maven-assembly-plugin生成构建物,可以直接生成生产部署的目录结构,方便DevOps 集成.

cd seezoon-admin-server
mvn clean package

产出物目录

seezoon-admin-server/target/seezoon-admin-server

只需要维护产出物conf 目录的application.properties 即可,然后就可以发布了。

配置文件与环境分离,maven-jar-plugin 打包产出物jar会排出resources目录如下文件:

application-local.properties
logback-spring.xml

如果不介意各个环境配置都在工程中那就很方便,使用spring boot 提供的--spring.profiles.active,在启动命令中选择配置文件。

image-20210423121842460

😇 手工部署-前台

cd seezoon-admin-web
yarn build

产出物

seezoon-admin-web/dist 中文件发布到线上nginx 目录即可,该工程nginx 配置如下,仅供参考。

upstream seezoon-admin-server {
    server 127.0.0.1:8080 max_fails=3 fail_timeout=10s;
}

server {
    listen       80;
    server_name  stack.seezoon.com;
    rewrite ^(.*)$  https://$host$1 permanent;
}

server {
    listen       443;
    server_name  stack.seezoon.com;
    ssl on;
    ssl_certificate   /data/cert/stack.seezoon.com.pem; 
    ssl_certificate_key  /data/cert/stack.seezoon.com.key;
    ssl_session_timeout 5m;
    ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_prefer_server_ciphers on;

    # api
    location ^~ /api/ {
        proxy_redirect off;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Real-PORT $remote_port;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://seezoon-admin-server/;
    }
    # 文件服务
    location ^~ /file/ {
        access_log off;
        alias /data/upload-server/;
    }

    # 静态资源
    location / {
        access_log off;
        root /data/seezoon-admin-web/;
        index index.html index.htm;
    }

}

可选静态资源压缩配置,放在nginx.conf http 节点下。

# 打开gzip 效果更佳
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.0;
gzip_comp_level 6;
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
gzip_vary off;
gzip_disable "MSIE [1-6]\.";

如何贡献

非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request。

Pull Request:

  1. Fork 代码! (同步上游:git pull https://github.com/734839030/seezoon-stack.git master)
  2. 创建自己的分支: git checkout -b feat/xxxx
  3. 提交你的修改: git commit -m 'feat(function): add xxxxx'
  4. 推送您的分支: git push origin feat/xxxx
  5. 提交pull request

Git 贡献提交规范

参考规范 (Angular)

- `feat` 增加新功能
- `fix` 修复问题/BUG
- `style` 代码风格相关无影响运行结果的
- `perf` 优化/性能提升
- `refactor` 重构
- `revert` 撤销修改
- `test` 测试相关
- `docs` 文档/注释
- `chore` 依赖更新/脚手架配置修改等
- `workflow` 工作流改进
- `ci` 持续集成
- `types` 类型定义文件更改
- `wip` 开发中
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].