Code Monkey home page Code Monkey logo

king-admin's Introduction

项目说明

king-admin

king-admin是一个超酷的前后端分离的基础权限管理后台,前端:angularJs+bootstrap+gulp,后端:spring-boot+mybatis-plus(分java版和kotlin版)

账号:king 密码:king

项目部署

执行 king-admin.sql

前端:

cd king-admin-angularjs

npm install -g gulp cnpm bower

cnpm install

bower install

gulp serve

http://localhost:5000

后端:

cd king-admin-java  或者 cd king-admin-kotlin

mvn install -Dmaven.test.skip=true

运行 KingAdminJavaApplication.java 或者 KingAdminKotlinApplication.kt

http://localhost:8080

注:

java用了lombok注解简化代码,请下载lombok插件 如果不前后端分离部署,可以cd king-admin-angularjs 运行 gulp 命令打包生成static 然后替换到java或kotlin的resource里

效果展示

鸣谢

Blur Admin

mybatis-plus

License

MIT license.

king-admin's People

Contributors

chaoguihaha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

king-admin's Issues

Welcome to the senior talent daemon

@oukingtim

Hello,I'm Tom.

Nice to meet you.:)

Now we offer a top talent guard program, which provides long-term professional recommendation, technical cooperation and exchange, business consultation and other related services for senior talents.

This service is free for life, and provides personalized career service according to your different stages.

I think you are quite suitable for some of our business customers,if you are interested, please add my WeChat to get more information about it. My WeChat number is qq3046472037.

Look forward to your news!

Thank you.

对比renren-fast关于登录和http-proxy-middleware有个疑问

看了一下登录没有任何特殊处理,只是用shiro来判断,请问前端不需要对sessionid做特殊处理,比如renren-fast那样,是因为用代理了,前端和后端共享session了么?
renren-fast是对token做了特殊处理,大神能讲下咱这个项目的登录是怎么回事吗?

Mac上运行 gulp 命令打包生成static 报错 如下

java用了lombok注解简化代码,请下载lombok插件 如果不前后端分离部署,可以cd king-admin-angularjs 运行 gulp 命令打包生成static 然后替换到java或kotlin的resource里
Error: Cannot find module 'wrench' at Function.Module._resolveFilename (module.js:489:15) at Function.Module._load (module.js:439:25) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Object.<anonymous> (/Users/tianzhen/MyFiles/MyWorkFiles/Java_WEB/Code/后台管理1漂亮/king-admin-master/king-admin-angularjs/gulpfile.js:4:14) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3)
我以前不是做javaweb的,刚开始学后台,所以还停留在用intellij或eclipse写代码运行的这种思维上, 而楼主的代码却能直接运行, 我很奇怪都没有启动servlet容器,甚至电脑上都没安装任何web服务器, 这个网页是如何运行在2000端口的呢?
我只希望将代码能导入到intellij中运行, 打包出war, 然后发布到jetty服务器中去...求楼主赐教

Could not create connection to database server.

完全按照讲解执行的,但最终运行KingAdminJavaApplication.java时会报错,如下:
Thu Jun 21 14:10:34 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
2018-06-21 14:10:34.164 ERROR 15452 --- [reate-126286359] com.alibaba.druid.pool.DruidDataSource : create connection error, url: jdbc:mysql://localhost:3306/king-admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8, errorCode 0, state 08001

com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
at sun.reflect.GeneratedConstructorAccessor55.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
at com.mysql.jdbc.Util.getInstance(Util.java:387)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2332)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2085)
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:795)
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:44)
at sun.reflect.GeneratedConstructorAccessor46.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1452)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1516)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2080)
Caused by: java.lang.NullPointerException: null
at com.mysql.jdbc.ConnectionImpl.getServerCharset(ConnectionImpl.java:3005)
at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1916)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1845)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1215)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2255)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2286)
... 12 common frames omitted

本人是编程菜鸟……刚接触前、后端开发,希望有大神可以指点!

纯粹为了感谢

最近在学后端使用kotlin开发,刚好找到这个资源,十分感谢

打包成static首页无法出来

分开运行没问题,打包之后放到resources下面,登陆之后一直转圈圈,没有对后端的请求,前端也没有报错

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.