Giter Site home page Giter Site logo

apiadmin-thinkphp's Introduction

ApiAdmin-ThinkPHP

特别提示

本项目前后端分离,与ApiAdmin-iViewApiAdmin-Element配合使用

环境需求

  • PHP >= 5.6
  • MySQL >= 5.5.3
  • Redis

安装

克隆代码

git clone https://github.com/bstdn/ApiAdmin-ThinkPHP.git
cd ApiAdmin-ThinkPHP
composer install

检测环境以及配置数据库

php think apiadmin:install -h
#Options:
#      --db=DB            数据库连接参数,格式为:数据库类型://用户名:密码@数据库地址:数据库端口/数据库名#字符集
#      --prefix[=PREFIX]  数据库表前缀 [default: ""]

# 示例:
php think apiadmin:install --db mysql://root:[email protected]:3306/apiadmin#utf8mb4
php think apiadmin:install --db mysql://root:[email protected]:3306/apiadmin#utf8mb4 --prefix=api_

数据库迁移

php think migrate:run

# 安装完成后,查看后台管理员的账号密码
cat application/install/lock.ini

Redis配置

# 修改 Redis 相关配置;如不使用 Redis,可修改为文件缓存;详细可查看:https://www.kancloud.cn/manual/thinkphp5_1/354116
config/cache.php

相关技术栈

效果展示

  • ApiAdmin-iView

输入图片说明

输入图片说明

输入图片说明

  • ApiAdmin-Element

输入图片说明

输入图片说明

输入图片说明

赞赏

请作者喝杯咖啡吧!(微信号/QQ号:99808359)

微信扫一扫

License

MIT

Copyright (c) 2019-present, bstdn

apiadmin-thinkphp's People

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.