Giter Site home page Giter Site logo

henryxlx / webfast Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 14.76 MB

Springboot with FreeMarker build a rapid development platform for webapp

License: MIT License

Java 90.08% FreeMarker 9.92% Smarty 0.01%
freemarker-template shiro-security springboot2 gradle

webfast's Introduction

WebFast Project for RAD

介绍

SpringBoot与FreeMarker技术建立WebApp基础功能快速开发平台

源代码结构

webfast
├── webfast-common                   -- 工具类及通用代码
├── webfast-kernel                   -- 核心模块定义各类接口及其相关功能设计
├── webfast-kernel-dao-jdbc          -- 核心模块定义DAO接口的Spring-JDBC实现
├── webfast-kernel-webmvc            -- 核心功能Web的控制逻辑使用SpringMVC的Controller实现
├── webfast-kernel-webui-freemarker  -- 核心功能视图FreeMarker初始化及页面实现
├── webfast-module-bigapp            -- 扩展模块定义服务接口与具体实现及MVC控制器的控制逻辑
├── webfast-module-bigapp-dao-jdbc   -- 扩展模块定义DAO接口的Spring-JDBC实现
├── webfast-module-bigapp-freemarker -- 扩展模块视图FreeMarker页面实现
├── webfast-starter-demo             -- 框架搭建时的测试代码
└── webfast-support-shiro            -- Shiro封装公用模块

技术选型

Java开发技术

技术 版本 说明 官网
SpringBoot 2.2.13 容器+MVC框架 https://spring.io/projects/spring-boot
Shiro 1.7.0 认证和授权框架 https://shiro.apache.org/
Druid 1.2.8 数据库连接池 https://github.com/alibaba/druid
Gradle 6.8.2 项目构建工具 https://gradle.org/

开发环境

工具 版本号 下载
JDK 8 https://www.oracle.com/java/technologies/downloads/#java8
Mysql 5.7 https://www.mysql.com/
Redis 7.0 https://redis.io/download
MongoDB 5.0 https://www.mongodb.com/download-center
RabbitMQ 3.10.5 http://www.rabbitmq.com/download.html
Elasticsearch 7.17.3 https://www.elastic.co/downloads/elasticsearch
Nginx 1.22 http://nginx.org/en/download.html

开发工具

工具名称 说明 官网
IDEA 开发IDE https://www.jetbrains.com/idea/download
RedisDesktop redis客户端连接工具 https://github.com/qishibo/AnotherRedisDesktopManager
Robomongo mongo客户端连接工具 https://robomongo.org/download
SwitchHosts 本地host管理 https://oldj.github.io/SwitchHosts/
X-shell Linux远程连接工具 http://www.netsarang.com/download/software.html
Navicat 数据库连接工具 http://www.formysql.com/xiazai.html
Axure 原型设计工具 https://www.axure.com/
MindMaster 思维导图设计工具 http://www.edrawsoft.cn/mindmaster
ScreenToGif gif录制工具 https://www.screentogif.com/
ProcessOn 流程图绘制工具 https://www.processon.com/
PicPick 图片处理工具 https://picpick.app/zh/
Snipaste 屏幕截图工具 https://www.snipaste.com/
Postman API接口调试工具 https://www.postman.com/

快速部署

  1. clone 项目到本地 [email protected]:<gitee用户名>/webfast.git
  2. 应用内置MySQL数据库脚本,程序第一次启动后会出现安装过程,根据要求填写系统会自动安装,默认数据库名称为webfast4dev, 数据库参数配置及外部文件管理目录默认指定为d:/webfast/demo4dev/appdata。若该目录不存在需要手工创建。 如果更改这些参数可在SpringBoot应用程序配置文件中修改 (webfast-starter-demo 模块中 resources 目录下的 application.properties 文件中)
  3. 提前准备好 MySQL并启动,数据库监听端口号为默认3306
  4. 在 IntelliJ IDEA 中打开 webfast 项目,在Gradle构建自动完成后,启动 webfast-starter-demo 模块

OK,至此,服务端就启动成功了,此时我们直接在浏览器地址栏输入 http://localhost:8080/webfast 即可开始使用, 程序第一次启动会自动进入安装界面,安装成功后即进入使用界面。

webfast's People

Contributors

henryxlx avatar

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.