Giter VIP home page Giter VIP logo

jfinal-spring-boot-quickstart-archetype's Introduction

Jfinal Spring Boot Quickstart Maven Archetype

Build Status License Status

Summary

The project is a Maven archetype for Spring Boot web application.

后续更新分拆成两个版本:
专注rest服务的
jfinal-spring-boot-quickstart-archetype
整和了layui的
jfinal-cms-spring-boot-quickstart-archetype

Descript

整合框架:

Spring-boot 2.0.3
Jfinal 3.4
Jfinal-ext 3.0.6
Shiro - Shiro-spring-boot-strator-1.4.0
Redis - Lettuce-5.0.4
Mongo-java-driver-3.6.4
Mysql-connector-java-5.1.20
Mysql - HikariCP-2.7.8
Swagger - Swagger2-spring-boot-strater-2.0.0
Javamelody - javamelody-spring-boot-starter-1.73.1

Update log

v2.1.2
1.专注rest微服务架构,专注最佳实践
2.加入shiro认证
3.加入session缓存

Pre Installation(optional)

此选项可以加快构建速度

http://repo2.maven.org/maven2/archetype-catalog.xml

将archetype-catalog.xml文件放到~/用户名/.m2/ 目录下

Installation

To install the archetype in your local repository execute following commands:

$ git clone https://github.com/wxcmyx/jfinal-spring-boot-quickstart-archetype.git
$ cd jfinal-spring-boot-quickstart-archetype
$ mvn clean install

Create a project

$ mvn archetype:generate \
     -DarchetypeGroupId=com.wixct \
     -DarchetypeArtifactId=jfinal-spring-boot-quickstart \
     -DarchetypeVersion=2.1.3 \
     -DgroupId=xxxxx \
     -Dpackage=com.company \
     -DartifactId=xxxxxx \
     -Dversion=1.0.0-SNAPSHOT \
     -DinteractiveMode=false

如果使用了Pre Installation,需要在上面代码的基础上再补充上

-DarchetypeCatalog=local

Run the project

$ mvn test spring-boot:run

Test on the browser

http://localhost:8080/api/hello

Note: No additional services are required in order to start the application.

Document

修改shiro权限认证方式,可能需要修改的几个包:
xx.config
xx.domain
xx.security
xx.service

jfinal-spring-boot-quickstart-archetype's People

Contributors

tntsl avatar wxcmyx avatar

Watchers

 avatar  avatar

Forkers

qiusugang

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.