2 Star 7 Fork 0

qingkong / api-doc-php

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
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.

About

使用golang编写的api接口文档应用,支持md文档编写和用户权限管理。 expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
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

Search

344bd9b3 5694891 D2dac590 5694891