Giter Club home page Giter Club logo

wish-admin's Introduction

WISH-ADMIN

前后端框架学习项目

后端仅提供REST数据,前端单页面应用组织方式,页面子功能菜单通过前端路由实现

##Contribution

I appreciate any contribution for this project, including suggestions, documentation improvements, reporting issues, forks and bugfixs, etc. I have found there are some unrelated issues added, before you file an issue, please READ THE STEPS IN THIS README.md carefully.

在你提交 ISSUE 前,请务必确认已经严格完成了本文中描述的操作步骤

Thanks.

##后端

  • 技术选择

    spring-boot

    mybatis + pagehelper + druid

    shiro

    ehcache

  • 运行及开发环境

    JDK 8 + Apache Maven

##前端(推荐vue)

  • vue 2 + vue-router + vuex + element-ui
nodejs + npm + webpack + vue-cli

js: ECMAScript6, babel转化为es5.1

webpack: js css image 打包

vue-cli: vue脚手架,搭建目录结构

##前后端结合

采用前后端分离,前后端分别运行,前端可以将静态资源发布到静态容器中

  vue 2最终的前端代码需要编译打包,仅将前端build后输出文件放到resource/static下
  源码放在frontend中,输出路径配置在frontend/config/index.js中,编译打包命令:
  在frontend目录中运行 npm run build 

##运行

前端,需要先编译打包前端代码,编译完成后发布到静态容器中
后端:
方式1: 运行Application类
方式2:通过spring-boot的maven插件将整个工程打成一个可运行jar包,java -jar命令运行jar
方式3: 通过spring-boot的maven插件将整个工程打成一个war包,发布到tomcat等容器中运行

wish-admin's People

Contributors

phuag avatar

Watchers

 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.