Coder Social home page Coder Social logo

admin's Introduction

感(bao)谢(ming)

非非非常感谢以下两个项目供我参(chao)考(xi)!!!

项目里部分代码是直接照搬上面两个项目的,有的会有少许调整。 有的文件里写了,有的没写,反正如果看到代码很眼熟,没错,那就是 “抄” 来的。

还有极少的其他开源项目的代码,,,就不一一贴出来了,,,

简介

一个带角色权限控制的后台起始项目,前后端分离,Vue + Laravel

角色权限部分用的 laravel-admin 中的方案和代码,可以说是很成熟的方案了吧,,,

还附赠了两个功能:

  • 文件管理器,可以统一管理后台的文件上传和选择,,经过又拍云测试,可以无缝切换本地存储和云存储
  • 配置管理

DEMO

http://admin-demo.largezhou.cn/admin/vue-routers

账号:admin

密码:000000

搞坏了可点【重置】

安装

  • git clone [email protected]:largezhou/admin.git
  • cd admin
  • composer install
  • cp .env.example .env
  • 修改 .env 文件中数据库连接配置
  • php artisan key:generate
  • php artisan jwt:secret
  • php artisan migrate
  • php artisan admin:init
  • cd resources/admin && yarn && yarn build

nginx 配置

# yarn build 之后的路径
location /admin/ {
    try_files $uri $uri/ /admin/index.html;
}

# yarn dev 或者 yarn watch 之后的路径
location /admin-dev/ {
    try_files $uri $uri/ /admin-dev/index.html;
}
# 上面两条配置可选

# Laravel
location / {
    try_files $uri $uri/ /index.php$is_args$args;
}

License

MIT

admin's People

Contributors

largezhou 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.