# webfast **Repository Path**: henryxpx/webfast ## Basic Information - **Project Name**: webfast - **Description**: SpringBoot与FreeMarker搭建JavaWeb应用的快速开发平台 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-05 - **Last Updated**: 2023-07-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: SpringBoot, Gradle, FreeMarker ## README # WebFast Project for RAD ### 介绍 SpringBoot与FreeMarker技术建立WebApp基础功能快速开发平台 ### 源代码结构 ``` lua 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 项目到本地 git@gitee.com:/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 即可开始使用, 程序第一次启动会自动进入安装界面,安装成功后即进入使用界面。