Giter VIP home page Giter VIP logo

isnott / spring-cloud-security-cli Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 146 KB

自用的Spring boot3脚手架,整合了mybatis-plus、security+jjwt鉴权、Nacos注册中心、okhttp、log4j日志、mysql、redis,用于微服务项目开发。目前已支持通过Http调用方式新建单体、微服务模板项目,适用于熟悉mybatis-plus的开发人员。

License: Apache License 2.0

Java 51.76% FreeMarker 48.24%
springboot3 springcloudalibaba jjwt nacos spring-security freemarker spring-boot-cli

spring-cloud-security-cli's Introduction

spring-cloud-security-cli

简单的Springboot3.x+cloud脚手架

介绍

个人自用的脚手架,用于快速搭建基于SpringCloud Alibaba的分布式Spring boot项目。

依赖

name version
Java 17
Spring-Boot 3.0.7
Spring-Security-Web 6.0.3
jjwt 0.9.1
Mybatis-plus 3.5.0
Mybatis-Plus-Boot3 3.5.5
Spring-Cloud-Alibaba 2022.0.0.0

分支

master # 源分支(目前最新-latest)
├─ feature/freemarker-1.0.0 # 生成器功能开发分支
├─ feature/standalone1.0.0  # 单体功能分支
├─ feature/microservice1.0.0 # 微服务功能分支

模块

spring-cloud-security-cli
├─nacos-example
|       └config.yml # nacos参考配置文件
├─ cloud-cli-service # 服务层模块
├─ cloud-cli-security # 安全认证模块
├─ cloud-cli-generate # 代码生成器模块
├─ cloud-cli-common # 通用模块(工具、配置)
├─ cloud-cli-bean # 实体类模块
├─ cloud-cli-api # Web api服务
├─ cloud-cli-pay# 支付SDK分支(暂无)

开发日志

date module todo done doing fix
2024/5/3 generate 测试各模块生成接口 生成项目各模块逻辑 替换模板内容 /
2024/5/3 generate RestAPI生成单体项目功能 生成微服务项目功能 / /
2024/5/6 generate 替换模板date注释内容 RestAPI生成单体项目功能 / /

REST API生成项目

运行cloud-cli-generate模块的GeneratorApplication

发送http请求

path: /generate/project
body:{
    "projectInfo": {
        "groupId": "org.test", // 项目groupId
        "artifactId": "standalone", // 项目artifactId
        "applicationName": "standalone-test", // 应用名称
        "author": "test", // 作者 默认=default
        "childModuleDirPrefix": "standalone-test-cli", // 子模块名称前缀
        "childLastPackage": "cli", // 子模块包名后缀
        "root":"D:\\新建文件夹", // 项目路径
        "mode":"0" // 1-微服务 0-单体 不填默认微服务
    }
}

说明

基于 Apache 2.0 开源协议,可随意拉取或fork项目。

假如你的项目有更多的日常复用的脚手架功能,欢迎提供PR加入到项目中。

如果此项目对你有用,请帮忙点一个star,谢谢。

spring-cloud-security-cli's People

Contributors

isnott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lvscxl wazxhy

spring-cloud-security-cli's Issues

运行报错

java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
WX20240530-173312

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.