All Projects → dee1024 → Sloth

dee1024 / Sloth

Licence: apache-2.0
Sloth 是一个生成脚手架代码的工具。你只需要设置好业务应用所需要用的 Mysql 数据源即可。如果你用过 Ruby on Rails 的代码生成器的话,那么 Sloth 也同样适用于这样的场景, 它使用 Java 语言构建,生成的脚手架代码亦是 Java。旨在为开发者提供一系列健壮的工具、程序库和工作流,帮助他们快速构建出漂亮、引人注目的SpringBoot Web应用

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Sloth

Hsweb3 Demo
hsweb 3.0版本演示,ui基于miniui,集成hsweb全家桶的web端演示,集成代码生成器
Stars: ✭ 490 (+188.24%)
Mutual labels:  spring-boot, code-generator
Celerio Angular Quickstart
Generate an Angular 5 CRUD application from an existing database schema (we provide a sample one)
Stars: ✭ 483 (+184.12%)
Mutual labels:  spring-boot, code-generator
Kvf Admin
kvf-admin是一套基于springboot、mybatis、shiro及layui的轻量级快速开发框架、脚手架、后台管理系统、权限系统、基于activiti6整合的工作流OA系统,上手简单,拿来即用。
Stars: ✭ 209 (+22.94%)
Mutual labels:  spring-boot, code-generator
Speedment
Speedment is a Stream ORM Java Toolkit and Runtime
Stars: ✭ 1,978 (+1063.53%)
Mutual labels:  spring-boot, code-generator
Springbootlearning
《Spring Boot教程》源码
Stars: ✭ 2,065 (+1114.71%)
Mutual labels:  spring-boot
Spring Boot Email Tools
A set of services and tools for sending emails in a Spring Boot 1.5.x application using a Template Engine
Stars: ✭ 164 (-3.53%)
Mutual labels:  spring-boot
Spring Boot Leaning
Spring Boot 2.X 最全课程代码
Stars: ✭ 2,008 (+1081.18%)
Mutual labels:  spring-boot
Jennifer
Jennifer is a code generator for Go
Stars: ✭ 2,257 (+1227.65%)
Mutual labels:  code-generator
Spring Boot Axon Sample
Sample application using Spring Boot, Axon, AngularJS and Websockets
Stars: ✭ 169 (-0.59%)
Mutual labels:  spring-boot
Event Sourcing Microservices Example
Learn about building microservices with event sourcing using Spring Boot and how to deploy a social network to Kubernetes using Docker Compose or Helm.
Stars: ✭ 167 (-1.76%)
Mutual labels:  spring-boot
Graphql Spring Boot Starter
Spring boot starter for GraphQL
Stars: ✭ 166 (-2.35%)
Mutual labels:  spring-boot
Evolutility Ui Jquery
Model-driven Web UI for CRUD using REST or localStorage.
Stars: ✭ 164 (-3.53%)
Mutual labels:  code-generator
Mutual Tls Ssl
🔐 Tutorial of setting up Security for your API with one way authentication with TLS/SSL and mutual mutual authentication for a java based web server and a client with both Spring Boot. Different clients are provided such as Apache HttpClient, OkHttp, Spring RestTemplate, Spring WebFlux WebClient Jetty and Netty, the old and the new JDK HttpClient, the old and the new Jersey Client, Google HttpClient, Unirest, Retrofit, Feign, Methanol, vertx, Scala client Finagle, Featherbed, Dispatch Reboot, AsyncHttpClient, Sttp, Akka, Requests Scala, Http4s Blaze, Kotlin client Fuel, http4k, Kohttp and ktor. Also other server examples are available such as jersey with grizzly. Also gRPC examples are included
Stars: ✭ 163 (-4.12%)
Mutual labels:  spring-boot
Spring Rest Ecommerce
Java Spring Boot - Ecommerce REST API
Stars: ✭ 164 (-3.53%)
Mutual labels:  spring-boot
Microservices Sample
Sample project to create an application using microservices architecture
Stars: ✭ 167 (-1.76%)
Mutual labels:  spring-boot
Jeecg
JEECG是一款基于代码生成器的J2EE快速开发平台,开源界“小普元”超越传统商业企业级开发平台。引领新的开发模式(Online Coding模式(自定义表单) - > 代码生成器模式 - > 手工MERGE智能开发), 可以帮助解决Java项目90%的重复工作,让开发更多关注业务逻辑。既能快速提高开发效率,帮助公司节省人力成本,同时又不失灵活性。具备:表单配置能力(无需编码)、移动配置能力、工作流配置能力、报表配置能力(支持移动端)、插件开发能力(可插拔)
Stars: ✭ 2,027 (+1092.35%)
Mutual labels:  code-generator
Chronus
Chronus是360金融技术团队基于阿里开源项目TBSchedule重写的分布式调度。
Stars: ✭ 166 (-2.35%)
Mutual labels:  spring-boot
Spring Boot Starter Swagger
自制spring boot starter for swagger 2.x,来试试吧,很好用哦~
Stars: ✭ 2,064 (+1114.12%)
Mutual labels:  spring-boot
My Blog
🌴A simple & beautiful blogging system implemented with spring-boot & thymeleaf & mybatis My Blog 是由 SpringBoot + Mybatis + Thymeleaf 等技术实现的 Java 博客系统,页面美观、功能齐全、部署简单及完善的代码,一定会给使用者无与伦比的体验
Stars: ✭ 2,400 (+1311.76%)
Mutual labels:  spring-boot
Spring Petclinic Reactjs
ReactJS (with TypeScript) and Spring Boot version of the Spring Petclinic sample application
Stars: ✭ 165 (-2.94%)
Mutual labels:  spring-boot

SLOTH 1.2

Chrome Web Store version issues Licence

Sloth 是一个生成脚手架代码的工具。你只需要设置好业务应用所需要用的 Mysql 数据源即可。如果你用过 Ruby on Rails 的代码生成器的话,那么 Sloth 也同样适用于这样的场景, 它使用 Java 语言构建,生成的脚手架代码亦是 Java。旨在为开发者提供一系列健壮的工具、程序库和工作流,帮助他们快速构建出漂亮、引人注目的Web应用。 其它语言版本 : English

特性

环境

  • JDK JDK 1.7 +
  • Maven version 3.0
  • GIT

快速开始

  • 步骤一:准备好数据源
host port username password dbname
127.0.0.1 3306 root 123456 test
  • 步骤二:Clone Sloth
git clone https://github.com/dee1024/sloth.git
  • 步骤三:进入 Sloth 的根目录
cd sloth
  • 步骤四:使用 Maven 安装 Sloth
mvn clean install
  • 步骤五:使用 Sloth 生成
mvn exec:java -Dexec.args="-path/workspaces/mySlothProject -packagecom.test -h127.0.0.1 -P3306 -uroot -p123456 -dtest -strategyssm"  -Dexec.cleanupDaemonThreads=false -Dexec.mainClass="com.github.dee1024.sloth.Application"
生成使用的参数 例如 参数说明
-path /workspaces/mySlothProject 生成的目标项目的路径
-projectname mySlothProject 生成的目标项目的包名
-package com.test 目前项目的名字
-help 查看帮助
-strategy ssm 生成策略:ssd=SpringBoot + SpringData,ssm=SpringMVC + Spring+MyBatis,sss=SpringBoot + SpringJDBC,ssj=SpringBoot + JOOQ
-h 127.0.0.1 数据库地址
-P 3306 数据库端口
-u root 数据库用户名
-p 123456 数据库用户密码
-d test 数据库库名
  • 步骤六:进入新生成的目标项目的根目录
cd /workspaces/mySlothProject
  • 步骤七:启动新生成的目标项目
mvn clean install
mvn exec:java -Dexec.mainClass=”com.test.Application” -Dexec.cleanupDaemonThreads=false

例子

  • 我的数据源
TableName
game
gameRole
gameServer
  • 所生成的目标项目代码结构
├── deploy.sh
├── mvn.sh
├── pom.xml
├── src
│   ├── main
│   │   ├── assembly
│   │   │   ├── assembly.xml
│   │   ├── java
│   │   │   ├── com
│   │   │   │   ├── sloth
│   │   │   │   │   ├── aop
│   │   │   │   │   │   ├── LogAspect.java
│   │   │   │   │   ├── Application.java
│   │   │   │   │   ├── common
│   │   │   │   │   │   ├── Page.java
│   │   │   │   │   ├── config
│   │   │   │   │   │   ├── database
│   │   │   │   │   │   │   ├── DB.java
│   │   │   │   │   │   │   ├── DBConfig.java
│   │   │   │   │   │   ├── redis
│   │   │   │   │   │   │   ├── RedisConfig.java
│   │   │   │   │   ├── controller
│   │   │   │   │   │   ├── restfulapi
│   │   │   │   │   │   │   ├── GameController.java
│   │   │   │   │   │   │   ├── GameRoleController.java
│   │   │   │   │   │   │   ├── GameServerController.java
│   │   │   │   │   ├── mapper
│   │   │   │   │   │   ├── GameMapper.java
│   │   │   │   │   │   ├── GameRoleMapper.java
│   │   │   │   │   │   ├── GameServerMapper.java
│   │   │   │   │   ├── model
│   │   │   │   │   │   ├── Game.java
│   │   │   │   │   │   ├── GameRole.java
│   │   │   │   │   │   ├── GameServer.java
│   │   │   │   │   ├── service
│   │   │   │   │   │   ├── GameRoleService.java
│   │   │   │   │   │   ├── GameServerService.java
│   │   │   │   │   │   ├── GameService.java
│   │   │   │   │   │   ├── impl
│   │   │   │   │   │   │   ├── GameRoleServiceImpl.java
│   │   │   │   │   │   │   ├── GameServerServiceImpl.java
│   │   │   │   │   │   │   ├── GameServiceImpl.java
│   │   ├── resources
│   │   │   ├── application.properties
│   │   │   ├── static
│   │   │   │   ├── apis-docs-by-sloth.html
│   │   │   │   ├── css
│   │   │   │   ├── fonts
│   │   │   │   ├── html
│   │   │   │   ├── js
│   │   │   ├── template
├── start.sh
├── stop.sh
  • 目标项目的接口文档页面示意图

贡献

我们期待你的 pull requests !

作者

其它

  • QQ群 570997546

许可证

Sloth is licensed under the Apache License, Version 2.0 (the "License");

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].