GithubHelp home page GithubHelp logo

morben / bearadmin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yupoxiong/bearadmin

0.0 1.0 0.0 20.64 MB

基于ThinkPHP5+AdminLTE的后台管理系统

Home Page: https://admindemo.yupoxiong.com/

License: Other

PHP 100.00%

bearadmin's Introduction

BearAdmin

基于ThinkPHP5.1+AdminLTE的后台管理系统。TP5.0版本点击这里

开发文档 | 在线DEMO | DEMO源码

在线 DEMO 账号密码:admin/admindemo

安装步骤

clone 项目到本地

git clone https://github.com/yupoxiong/BearAdmin.git

git clone https://gitee.com/yupoxiong/BearAdmin.git

安装项目依赖

composer install

配置数据库

更改 /config/database.php 文件内的数据库配置选项,数据库编码推荐utf8mb4

运行数据库迁移命令

php think migrate:run

配置URL重写

具体可参考ThinkPHP5.1完全开发手册

访问后台

访问/admin,默认超级管理员的账号密码都为super_admin

api模块路由示例

<?php
use think\facade\Route;

/**
 * api模块路由,如果不需要路由的直接忽略
 * 示例的URL为/api/user
 */
Route::group('api', function () {

    //登录接口
    Route::post('auth/login','api/Auth/login');

    //用户操作示例
    Route::resource('user','api/User') ->only(['index','save', 'read', 'update','delete']);

    //miss路由
    Route::miss(function (){
        return json([
            'code' => 404,
            'msg'  => '接口不存在',
            'data' => '',
        ], 404);
    });


});

其他说明

本项目采用大量的开源代码,包括ThinkPHP,AdminLTE等等。 部分代码可能署名已被某些前辈去掉,我也没来得及去查找具体的作者,如果有需要修改的地方,可以与我取得联系,i#yupoxiong.com(手动替换#即可)。 在此,对所有用到的开源代码作者表示由衷的感谢。如果大家需要Laravel版本的后台管理系统,可以使用LaravelAdmin

交流QQ群:480018279

😛🐻❤️

bearadmin's People

Contributors

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