All Projects → vancefantasy → Flyer Maker

vancefantasy / Flyer Maker

Licence: mit
a scaffold tool of java project

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Flyer Maker

React Scaffold
The best scaffold for React
Stars: ✭ 27 (-75.68%)
Mutual labels:  scaffold
Cra Generate
Scaffold a React component.
Stars: ✭ 78 (-29.73%)
Mutual labels:  scaffold
Awesome React Generator
No more clicking around to create files in your react project! Awesome React Generator is Command Line Tool that let's you scaffold your components without leaving your terminal.
Stars: ✭ 98 (-11.71%)
Mutual labels:  scaffold
Ultra light wizard
No time to manage a wizard state machine, session variables, or complicated controllers? Use ultra light wizard!! A RESTful session-less validation-friendly simple multi-step form approach in Rails.
Stars: ✭ 35 (-68.47%)
Mutual labels:  scaffold
Arcs
🌈Scaffold genome sequence assemblies using linked read sequencing data
Stars: ✭ 67 (-39.64%)
Mutual labels:  scaffold
Gittar
🎸 Download and/or Extract git repositories (GitHub, GitLab, BitBucket). Cross-platform and Offline-first!
Stars: ✭ 87 (-21.62%)
Mutual labels:  scaffold
Create Ava
Add AVA to your project
Stars: ✭ 14 (-87.39%)
Mutual labels:  scaffold
Think Builder
A command line toolit to build applications' CRUD/mvc scaffold for thinkphp v6. 用于生成 thinkphp v6 增查改删脚手架代码的命令行工具。
Stars: ✭ 105 (-5.41%)
Mutual labels:  scaffold
Android Mvp Starter
Create/Generate your MVP projects easily
Stars: ✭ 72 (-35.14%)
Mutual labels:  scaffold
Angular Librarian
An Angular 2+ scaffolding setup for creating libraries
Stars: ✭ 92 (-17.12%)
Mutual labels:  scaffold
Phaser Node Kit
Rapid Game Development with PhaserJS and Node for Modern Browsers
Stars: ✭ 39 (-64.86%)
Mutual labels:  scaffold
Generator Gulp Plugin Boilerplate
Scaffold out a Gulp plugin boilerplate
Stars: ✭ 46 (-58.56%)
Mutual labels:  scaffold
Catesta
Catesta is a PowerShell module project generator. It uses templates to rapidly scaffold test and build integration for a variety of CI/CD platforms.
Stars: ✭ 88 (-20.72%)
Mutual labels:  scaffold
Larawiz
Larawiz is a easy project scaffolder for Laravel
Stars: ✭ 28 (-74.77%)
Mutual labels:  scaffold
React Native Create Library
📓 Command line tool to create a React Native library with a single command
Stars: ✭ 1,362 (+1127.03%)
Mutual labels:  scaffold
Drupal Console
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
Stars: ✭ 913 (+722.52%)
Mutual labels:  scaffold
Dredd Example
Example application using Dredd and CI
Stars: ✭ 79 (-28.83%)
Mutual labels:  scaffold
Dddplus Demo
♨️ Demonstrate how to use DDDplus to build a complex OMS.演示如何使用DDDplus实现一套订单履约中台OMS
Stars: ✭ 111 (+0%)
Mutual labels:  scaffold
Bitters
Bitters is maintained by the thoughtbot design team. It is funded by thoughtbot, inc. and the names and logos for thoughtbot are trademarks of thoughtbot, inc.
Stars: ✭ 1,398 (+1159.46%)
Mutual labels:  scaffold
Larafast Fastapi
A Fast Laravel package to help you generate CRUD API Controllers and Resources, Model.. etc
Stars: ✭ 91 (-18.02%)
Mutual labels:  scaffold

License

flyermaker是什么?

flyermaker是一个Java项目的脚手架工具,支持SpringBoot和SpringFramework,它允许动态生成工程代码和单元测试,同时尝试提供工程搭建、个别场景实现的最佳实践参考,让开发人员在短时间构建易维护、生产可用的服务。 flyermaker的灵感来自于SPRING INITIALIZRMyBatis Generator

集成环境

  • Java 8
  • SpringBoot2.0.5/SpringFramework4.3.18
  • mapper、entity、dao、service、controller及对应单元测试
  • 第三方工具(guava,jodd,vjkit,apache commons等),满足缓存(内存)、字符串、日期、json、集合、Http、IO等的日常处理
  • 异常处理
  • 全局拦截器,记录请求响应日志
  • SLF4J/Logback
  • 单元测试、Mock测试

flyermaker使用指南

注意:flyermaker当前版本要求数据库表有自增主键,且主键名必须为'id'

Windows用户参考这里

  1. 下载最新版本并解压

     unzip flyermaker-0.0.1.zip //zip
     tar zxvf flyermaker-0.0.1.tar.gz //tar
    
  2. 修改配置文件

    编辑application.properties文件

  3. 命令行运行

     flyermaker -f application.properties
    

配置文件参考

字段 名称 是否必须 默认值 备注
author 作者 flyermaker 例如:vance
target.dir 目标目录 当前目录 例如:/tmp/flyermaker
project.type 项目类型 - 可选springmvc-rest,springboot-rest,springmvc-page,springboot-page
project.groupId Maven groupId - 例如:com.flyer
project.artifactId Maven artifactId - 例如:flyer-springboot-rest
project.package 包路径 - 例如:com.flyer.springmvc.rest
mysql.jdbc.url jdbc url - 例如:jdbc:mysql://localhost:3306/flyer?useUnicode=true&characterEncoding=utf-8&useSSL=false
mysql.username mysql username - 例如:flyer_w
mysql.password mysql password - 例如:123456
mysql.table.include 表白名单 多个以逗号分割,例如:user,order,t2
mysql.table.exclude 表黑名单 多个以逗号分割,例如:user,order,t2
mysql.column.exclude 字段黑名单 多个以逗号分割,例如:_timestamp,updatetime

关于项目类型

  • springmvc-rest 基于SpringFramework的Rest服务
  • springboot-rest 基于SpringBoot的Rest服务
  • springmvc-page 基于SpringFramework的页面服务,暂不支持
  • springboot-page 基于SpringBoot的页面服务,暂不支持

关于白名单、黑名单

白名单和黑名单是互斥的,白名单的优先级高于黑名单。即:如果设置了白名单,只会扫描白名单的表,如果只设置了黑名单,则会过滤掉黑名单中的表,如果同时设置了白名单、黑名单,则只有白名单生效。 字段黑名单是全局的,用来过滤不想要的字段,例如'_timestamp(ON UPDATE CURRENT_TIMESTAMP)'

单元测试

写好单元测试不是一件容易的事,这里分享下自己的经验:多数情况下使用独立的数据库运行单元测试,运行完清空数据库,会是一个明智的选择。事实上,在本项目中,就体现了类似的规则。

注意:为避免误清空其他环境数据,运行单元测试时会检测数据库实例是否以'_ut'结尾。生成代码后,请把单元测试的配置文件修改下。

模板项目

这里维护了flyermaker的模板:

贡献代码

欢迎提交Pull Request。有意见或建议,请提issue,也可以邮件

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