2 Star 7 Fork 0

qingkong / api-doc-php

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

API-DOC

概览

api-doc 是一个轻量化的api接口文档工具。支持markdown编写文档,能够方便前后端对于接口文档和项目文档的查看。后端采用PHP编写,前端使用VUE编写。

鸣谢

图片名称

技术栈

该项目为前后端分离项目, php7.2(Yii2框架) 提供后端接口 ,vue2.0 作为前端开发框架 ,mysql5.7 作为数据库。

目录说明

  • front 前端文件夹
  • backend 后端文件夹

使用方法

前端

  1. 进入front(前端)文件夹,首先执行yarn install安装依赖,接着执行yarn serve

后端

  1. 进入backend文件夹,执行composer install安装依赖,接着执行php yii serve --port=1000
  2. 初始化超级管理员
    • 在backend目录下执行 php yii init/user
    • 超级管理员忘记密码 php yii init/user true

数据库初始化

  • 在mysql中执行 database/mysql.sql 的SQL脚本即可。

仓库地址

项目概览

登录 api概述 api详情 项目文档 api列表

MIT License Copyright (c) 2019 青空之上 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

使用golang编写的api接口文档应用,支持md文档编写和用户权限管理。 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/leihenshang/api-doc-php.git
git@gitee.com:leihenshang/api-doc-php.git
leihenshang
api-doc-php
api-doc-php
master

搜索帮助