RestBoard后臺(tái) API 管理系統(tǒng)
RestBoard是基于vue-cli+vue-router+vue-resource+element+php構(gòu)建的后臺(tái)API管理系統(tǒng)
功能
-
API 信息管理
-
API 測(cè)試記錄
-
API 批量測(cè)試
-
API 監(jiān)控
-
API 接口在APP 的信息管理
-
API 文檔,文檔和API 信息管理關(guān)聯(lián)
安裝
下載代碼
git clone https://github.com/nusr/RestBoard.git
建議 fork 一份,熱情期待您幫忙貢獻(xiàn)該項(xiàng)目,為廣大客戶端開(kāi)發(fā)和測(cè)試同學(xué)提供幫助。
1. 引入nginx 配置
nginx 配置參考 config/restboard.conf 然后再 nginx.conf 里面通過(guò) include 引入。
include /var/www/RestBoard/config/restboard.conf;
配置hosts 后重啟nginx nginx -s reload。
2. 創(chuàng)建數(shù)據(jù)庫(kù)和表結(jié)構(gòu)
-- 創(chuàng)建數(shù)據(jù)庫(kù)與用戶 drop database if exists restboard; create database if not exists restboard default character set utf8 collate utf8_general_ci; grant all privileges on restboard.* to 'restboard'@'localhost' identified by 'restboard'; flush privileges; quit
執(zhí)行如下命令創(chuàng)建表結(jié)構(gòu)
php artisan migrate
如果希望創(chuàng)建表結(jié)構(gòu)時(shí)增加示例數(shù)據(jù),可以執(zhí)行如下命令。創(chuàng)建的數(shù)據(jù)可以刪除,所以建議您加上 --seed 參數(shù),方便快速上手。
php artisan migrate --seed
評(píng)論
圖片
表情
