GithubHelp home page GithubHelp logo

buyivip's Introduction

easyweb-jwt

简介

 基于 SpringBoot、jwt和JwtPermission实现的前后端分离开发框架,接口遵循RESTful风格,相比SpringSecurity和oAuth2.0框架更加轻量级。

在线演示:http://oauth.easyweb.vip/, 账号:admin,密码:admin。

使用技术

描述 框架
核心框架 Spring、Spring Boot、Spring MVC
持久层 MyBatis、MyBatis-Plus、Druid
权限框架 Jwt、JwtPermission
前端框架 Layui、EasyWeb-SPA

另外有基于SpringSecurity、oAuth2.0的版本 前往获取, 有基于Shiro的版本 在线演示

 前端的框架使用的是easyweb的spa版本,无需打包、npm环境即可使用,前端框架需要授权才可使用,授权可获得详细的开发文档。

导入项目

  1. 使用 IDEA 选择 Open 导入项目;
  2. 导入数据库到MySQL中,sql 位于根目录;
  3. 确认application-dev.properties 配置是否正确;
  4. 启动项目,浏览器访问 http://localhost:8088/

分离部署:

  1. static目录下的前端代码部署在nginx里面;
  2. 修改assets/module/config.js里面的base_server为你的后端地址;

项目结构

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

项目截图

用户管理

角色管理

相关学习资料

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

联系方式

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

群二维码

推荐

EasyWeb管系统模板
 一个开箱即用的后台模板,使用简单,模板丰富,包含传统ifram版、spa单页面路由版,前往查看

buyivip's People

Forkers

cloudgoon

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.