Giter Club home page Giter Club logo

easyweb's Introduction

EasyWeb

简介

SpringBoot、SpringSecurity、OAuth2.0整合的实现,前后端分离后台的实现示例。

使用技术

描述 框架
核心框架 Spring、Spring Boot、Spring MVC
持久层 MyBatis、MyBatis-Plus、Druid
权限框架 Spring Security、Security-OAuth2

开发工具为IDEA,数据库文件存放在项目的src/main/resources/sql目录下。

如果对oauth2上手有难度可以在附件这里下载easyweb-shiro,这个不需要redis,前端也是路由单页面: https://gitee.com/whvse/EasyWeb/attach_files

导入项目

  1. 开启redis(oauth2需要redis)、导入数据库
  2. 确认application.properties配置信息是否正确
  3. 在通过IDEA启动运行
  4. 浏览器访问http://localhost:8088/

前端页面

这个项目是后台,全是接口,需要页面可以参考下面的模板:

项目结构

后台接构

|-src
   |-main
      |-java
      |    |-com.wf.ew
      |              |-common     // 核心模块
      |              |     |-config      // 存放SpringBoot配置类
      |              |     |     |-MyBatisPlusConfig.java      // MyBatisPlus配置
      |              |     |     |-SwaggerConfig.java          // Swagger2配置
      |              |     |
      |              |     |-exception   // 自定义异常类,统一异常处理器
      |              |     |-oauth       // 权限配置模块
      |              |     |-utils       // 工具类包
      |              |     |-BaseController.java    // controller基类
      |              |     |-JsonResult.java        // 结果集封装
      |              |     |-PageResult.java        // 分页结果集封装
      |              |
      |              |-system      // 系统管理模块
      |              |-xxxxxx      // 其他业务模块
      |              |
      |              |-EasyWebApplication.java     // SpringBoot启动类
      |              
      |-resources
            |-mapper     // mapper文件
            |    |-system
            |
            |-application.properties  // 配置文件

相关学习资料

😏 学如逆水行舟,不进则退~~~


项目截图

登录 

用户管理

角色管理

登录日志


联系方式

欢迎加入“前后端分离技术交流群”

相互学习,共同进步!

群二维码

easyweb's People

Contributors

ele-admin 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.