Coder Social home page Coder Social logo

lawliet1909 / springmvcseedproject Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lemon2016/springmvcseedproject-1

0.0 2.0 0.0 2.22 MB

Seed Project For Spring MVC

License: Apache License 2.0

Java 36.66% Groovy 0.15% CSS 33.46% JavaScript 29.73%

springmvcseedproject's Introduction

SpringMVCSeedProject License Build Status

主要的后端架构:

Spring + Spring MVC + JPA  + Hibernate + Apache Shiro + Spring-Session

架构图:

default

所需的环境和正确打开项目的姿势

见根目录下'开发环境搭建及导入项目的方式.doc'
导入前 视情况修改maven仓库地址(build.gradle)和数据库地址(/src/main/resources/db.properties)
运行项目前请确保有一个Redis实例在运行,并且正确配置(src/main/resources/redis.properties)

配置文件说明

'/src/main/resources/'路径下面的 
MyBatis.xml generatorConfig.xml Hibernate.cfg.xml logback.xml 均未使用,只是作为配置文件模板,以备以后查询

初始化数据库

INSERT INTO SpringMVCSeedProject.user (userName, passWord, role, authorityType) VALUES ('admin', '9cf3e758a497c6274bd066d0b2168432f8a34aad95f63a65677a9a56acec94a7', 'ADMIN', null);

然后就可以用账号admin密码admin登陆了

相关博客

  1. 使用Lombok注解
  2. Swagger&SpringFox快速上手
  3. Redis OR EhCache 作为Spring的缓存
  4. 异常处理实践
  5. 使用LogBack将日志记录到MySql数据库

不想写XML?试试SpringMVCWithJavaConfig Build Status

没有Spring.xml,没有SpringMVC.xml,连web.xml也没有,通过类型安全的JavaConfig配置SpringMVC应用

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.