{"id":18701104,"url":"https://github.com/toquery/cleveradmin","last_synced_at":"2025-04-12T08:32:14.617Z","repository":{"id":52415473,"uuid":"66209004","full_name":"ToQuery/CleverAdmin","owner":"ToQuery","description":"新项目 新版本 新语法 新架构 , ~~CleverWeb 现代化后台管理端，可能是最符合中国国情的首个前后端结合的项目。项目只包含基本的用户，菜单，和权限控制，可用于CMS 等后台管理端的快速成型。~~","archived":true,"fork":false,"pushed_at":"2021-04-29T20:46:35.000Z","size":20069,"stargazers_count":17,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-20T12:19:43.556Z","etag":null,"topics":["cms","spring","spring-boot","spring-data-jpa","spring-security","spring-session"],"latest_commit_sha":null,"homepage":"https://toquery.github.io/CleverWeb/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ToQuery.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"ToQuery","custom":null}},"created_at":"2016-08-21T16:35:21.000Z","updated_at":"2023-12-12T02:17:40.000Z","dependencies_parsed_at":"2022-08-27T08:40:09.406Z","dependency_job_id":null,"html_url":"https://github.com/ToQuery/CleverAdmin","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToQuery%2FCleverAdmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToQuery%2FCleverAdmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToQuery%2FCleverAdmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToQuery%2FCleverAdmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ToQuery","download_url":"https://codeload.github.com/ToQuery/CleverAdmin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248540089,"owners_count":21121292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","spring","spring-boot","spring-data-jpa","spring-security","spring-session"],"created_at":"2024-11-07T11:40:38.008Z","updated_at":"2025-04-12T08:32:09.609Z","avatar_url":"https://github.com/ToQuery.png","language":"Java","funding_links":["https://github.com/sponsors/ToQuery"],"categories":[],"sub_categories":[],"readme":"# CleverWeb\n\n[![GitHub License](https://img.shields.io/github/license/ToQuery/CleverWeb.svg)](https://github.com/ToQuery/CleverWeb)\n[![Build Status](https://travis-ci.org/ToQuery/CleverWeb.svg?branch=master)](https://travis-ci.org/ToQuery/CleverWeb)\n[![GitHub Issues](https://img.shields.io/github/issues/ToQuery/CleverWeb.svg)](https://github.com/ToQuery/CleverWeb/issues)\n[![GitHub Repo Size](https://img.shields.io/github/repo-size/toquery/CleverWeb.svg)](https://github.com/ToQuery/CleverWeb)\n[![GitHub Last Commit](https://img.shields.io/github/last-commit/ToQuery/CleverWeb.svg)](https://github.com/ToQuery/CleverWeb)\n[![GitHub Commit Activity](https://img.shields.io/github/commit-activity/w/ToQuery/CleverWeb.svg)](https://github.com/ToQuery/CleverWeb)\n\n[![Jwt Status](http://jwt.io/img/badge.svg)](https://github.com/ToQuery/CleverWeb)\n\nCleverWeb 即敏捷的Web，可能是最符合中国国情的首个前后端结合的项目。项目只包含基本的用户，菜单，和权限控制，可用于CMS 等后台管理端的快速成型。\n\n[![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=toquery\u0026repo=CleverWeb)](https://github.com/toquery/CleverWeb)\n\n\n## 项目概要\n\n\n项目第一条：不重复造轮子！市面上存在多个后端管理系统，前后端分离的、普通 thymeleaf 的、以及最基础的jQuery 等等，功能基本相同，互有利弊。\n\n项目采用前后端架构分离但结构结合的设计，前端使用 `vue`、`element-ui` 后端使用`spring-boot`，前端使用 panJiaChen 大神的 [vue-element-admin](github.com/panJiaChen/vue-element-admin) 项目，提供基础vue框架结构，采用 Git SubTree 模式同步更新项目修复BUG 。后端使用 `spring-boot` 全家桶，前后端使用 `JWT` 方式加密认证。同时，受[jhipster](https://www.jhipster.tech/) 项目启发，使用基于maven的插件实现前后段结构结合。\n\n\n- jhipster\n\n\u003e Jhipster是一个生成、开发和部署的开发平台 Spring Boot + Angular/React Web 应用 and Spring 微服务. \n\u003e - 服务器端使用Spring Boot的高性能健壮Java堆栈\n\u003e - 时尚, 现代化, 移动优先 前端Angular, React and Bootstrap\n\u003e - 一个强大的微服务架构，包含jhipster注册表、Netflix OSS、弹性堆栈和Docker\n\u003e - 使用Yeoman、Webpack和Maven/Gradle构建应用程序的强大工作流\n\n\n- 站在巨人肩上\n\n项目使用`git subtree` 同步更新前端代码。既保证原项目仓库代码的更新，也能实现本项目个性化设置。\n\n```bash\ngit subtree pull -P src/main/webapp git@github.com:PanJiaChen/vue-element-admin.git i18n --squash\n```\n\n## New Features:\n\n- [ ] 自动生成模板时候，根据类型生成不同的元素\n\n## 运行项目\n\n### 基础环境\n\n- jdk8+\n- maven\n- node（npm）可不安装，但注意保持和pom配置版本一致\n\n### 基于maven运行(推荐)\n\n1. 进入项目根目录 `mvn clean install`\n2. 项目打包 `mvn clean package -X -DskipTests`\n3. 运行 `java -jar target/xxxx.jar`\n\n### 使用 IntellJ IDEA 运行（建议安装 node）\n\n1. 以普通maven项目导入项目\n2. 添加 SpringBoot 项目运行方式运行后端项目（默认使用H2数据库）\n3. 命令行进入项目根目录，`npm install`\n4. 运行 `npm run dev`，可进入开发模式\n\n**注意后端项目使用`8080`端口，前端项目使用`9527`端口，使用`9527`端口可实现页面动态**\n\n### 打包\n\n- 以普通jar文件方式\n\n运行 `mvn clean pageage -X -DskipTests` ,将前后端项目同时打包运行（推荐！！！不需要另行配置nginx代理）。\n\n- 以docker方式\n\ndocker run\n\n\n## package.json 配置\n\n- postcss 代替根目录下的 .postcssrc.js\n\n```json\n{\n  \"postcss\": { \n    \"plugins\": {\n      \"autoprefixer\": {}\n    }\n  }\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoquery%2Fcleveradmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoquery%2Fcleveradmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoquery%2Fcleveradmin/lists"}