Git Product home page Git Product logo

admin's Introduction

感谢

简介

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

功能

  • laravel-admin 一样的角色权限管理功能

  • 文件管理器

  • 配置管理

artisan 命令

  • admin:init - 初始化系统

  • admin:make-resource - 生成一个资源所需的所有相关文件

    比如开发一个全新的轮播图功能

    执行 php artisan admin:make-resource banner

    可生成一个功能所需的增删改查测的前后端文件

DEMO

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

安装

  • git clone [email protected]:largezhou/admin.git
  • cd admin
  • composer install
  • cp .env.example .env
  • 修改 .env 文件中数据库连接配置
  • php artisan key:generate
  • 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?$query_string;
}

License

MIT

admin's People

Forkers

tuanha1305

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.