基于SSM框架之众筹网站项目

本文记录了一次使用SpringBoot、SpringMVC、Mybatis等技术栈开发众筹平台的实践过程,包括项目简介、开发环境、技术选型及项目目录结构。项目尚处于初级阶段,部分功能待完善,作者计划进一步重构优化。

众筹平台

学习Java EE开发框架有几个月了,一直觉得没有头绪,看见什么都想去学,学得很零散,也很乱。前几周刚好在实训,便组队做了一个基于SpringBoot的众筹平台项目,算是对学习的知识进行一次系统地检验,在此记录下来并总结分享一些心得。在此感谢队友的辛勤付出。

项目地址:https://github.com/monimm/CrowdFunding

Tips:申请域名中,准备发布到阿里云

Tips:大家大多都无相关开发经验,项目做得很糙,部分功能还未实现,打算趁次假期,抽时间将其重构优化。


项目简介


开发环境

  • 基于SpringBoot
  • Eclipse Java EE

技术栈

项目开发时间短,技术并不深,仅供初学者参考。

前端

  • BootStrap
  • jQuery
  • html5/css3

后台

  • 核心架构:SpringBoot
  • Web框架:SpringMVC
  • 持久层框架:Mybatis
  • 数据库连接池:Druid
  • 模板引擎:Thymeleaf
  • 数据库:Mysql
  • 缓存:待实现
  • 安全框架:待实现

说起Druid,不得不提下,2017国内十大开源软件,阿里占3个: DruidfastjsonDubbo
https://www.oschina.net/project/top_cn_2017?sort=1


项目目录结构

这里写图片描述

Maven依赖

<project
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.moni</groupId>
    <artifactId>CrowdFunding</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>jar</packaging>

    <name>CrowdFunding</name>
    <url>http://maven.apache.org</url>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.5.9.RELEASE</version>
    </parent>



    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <!-- 热启动 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <optional>true</optional>
        </dependency>
        <!-- 引入 mysql -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>

        <!-- 引入 mybatis -->
        <dependency>
            <groupId>org.mybatis.spring.boot</groupId>
            <artifactId>mybatis-spring-boot-starter</artifactId>
            <version>1.3.2</version>
        </dependency>
        <!-- 引入 druid 连接池 -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>1.0.5</version>
        </dependency>
        <!-- 引入 thymeleaf 模版 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.3</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <version>1.5.9.RELEASE</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>4.3.13.RELEASE</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version> 4.12</version>
        </dependency>
        <dependency>
            <groupId>org.json</groupId>
            <artifactId>json</artifactId>
            <version>20160810</version>
        </dependency>
        <dependency>
            <groupId>net.sourceforge.nekohtml</groupId>
            <artifactId>nekohtml</artifactId>
            <version>1.9.22</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.10.19</version>
            <scope>test</scope>
        </dependency>

    </dependencies>
</project>

项目界面

登陆界面
这里写图片描述

注册
这里写图片描述

主页
这里写图片描述

众筹项目详情页
这里写图片描述

描述
这里写图片描述

评论
这里写图片描述

支付功能
这里写图片描述

发起众筹
这里写图片描述

这里写图片描述
这里写图片描述
这里写图片描述

个人中心
这里写图片描述

订单管理
这里写图片描述

项目管理
这里写图片描述

消息管理
这里写图片描述


不多说,懂得人看名字就能知道,挺好的一套案例,包含讲解视频和完整案例。 内容: 『课程目录』: ├─项目-第01天《Atcrowdfunding》3 n7 ]2 w M, M1 ^ ^& P │ ├─代码 - G( G, ]4 n, n! y3 k! o │ ├─笔记 │ └─视频# w6 }: r+ B& @" Q& \' \! J │ 2. 互联网金融介绍 │ 3. 介绍 │ 4. 尚网-项目范围-项目简单介绍 │ 5. 尚网-人员组织结构-周期5 f: j* \5 W9 _ │ 6. 项目需求分析 │ 7.物理数据模型(PDM) -- 数据库设计 (PowerDesigner) │ 8.UML建模语言,-开发设计工具Rational_Rose │ 9.Maven项目模块划分-说明 │ 10.Maven项目模块划分-创建项目 │ 11.Maven项目模块划分-引用依赖包( f- {5 L4 F2 i8 z+ c* U │ 12.项目环境搭建细节-监听器 │ 13.项目环境搭建细节-过滤器 │ 14.项目环境搭建细节-核心控制器 │ 15.项目环境搭建细节-spring-springmvc相关配置-创建包结构% y& q( J; t$ J; t' ^5 t │ 16.项目环境搭建-跑通整个流程4 n. \. k! \1 r. s │ , b2 `. m2 c0 O5 H; Z1 z/ D ├─项目-第02天《Atcrowdfunding》 │ ├─代码 │ ├─笔记! L K( i5 j2 w7 P& F0 J- ]& g │ └─视频 │ 1.问题一箩筐-开发规范- |7 z6 a. H$ Y2 X │ 2.问题一箩筐-Bean对象依赖异常 │ 3.问题一箩筐-扫描包,以及spring配置文件标签报错) h5 O# v1 e1 U# N │ 4.问题一箩筐-jdbc.properties属性文件设置错误,无法连接数据库, Q) {; h4 t( ?: r& ^ │ 5.问题一箩筐-关于url扩展名称问题 │ 6.问题一箩筐-关于打印日志log4j问题5 y: }- e: Z$ p6 X9 d0 A9 @ │ 7.问题一箩筐-生产环境模拟, y; v4 Z% p0 }& I+ X* B) t# j │ 8.问题一箩筐-相对路径和绝对路径 │ 9.问题一箩筐-自定义监听器,解决上下文路径使用问题 │ 10.问题一箩筐-重载-笔试题+ i4 I$ j6 d/ [- j: d │ 11.问题一箩筐-悲观锁和乐观锁7 L; ^; s& i# h/ l8 O$ m/ \' F │ 12.登录业务介绍-界面介绍! Z9 ?( h9 e$ s, L. Z │ 13.登录业务流程-代码 │ 14.Bootstrap介绍 │ 15.登录功能分析-时序图+ \0 D3 j3 D; V │ 16.登录功能-创建组件(bean,mapper,service,controller) │ 17.登录功能-同步请求方式) B+ ?3 A S/ A │ 18.将代码提交到SVN │ ) H4 U& n2 P) M+ P7 \ ├─项目-第03天《Atcrowdfunding》 │ ├─代码 " A! H. }6 I. b! C │ ├─笔记 │ └─视频 │ 1-项目功能介绍.( A$ d B; a6 G' j) x2 k │ 2-字体图标 z8 P" l7 b* p% @. E% K │ 3-登录功能-异步请求开发方式 │ 4-trim()-表单数据校验 │ 5-解决回显数据问题 │ 6-异步开发原理-解决页面闪烁问题 │ 7-登录功能异步开发总结 │ 8
评论 38
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值