Mike 0372c5d680 add hace 8 años
..
app 0372c5d680 add hace 8 años
bootstrap 54fc7e274c first commit hace 8 años
config 7c0e1c3575 ide-helper hace 8 años
database ad2eac4a13 add hace 8 años
public 54fc7e274c first commit hace 8 años
resources b46df65721 new framwork hace 8 años
routes ad2eac4a13 add hace 8 años
storage 54fc7e274c first commit hace 8 años
tests 54fc7e274c first commit hace 8 años
.env.example 54fc7e274c first commit hace 8 años
.gitattributes 54fc7e274c first commit hace 8 años
.gitignore 54fc7e274c first commit hace 8 años
apidoc.json 46b25b70b1 add hace 8 años
artisan 54fc7e274c first commit hace 8 años
composer.json 7c0e1c3575 ide-helper hace 8 años
package.json 54fc7e274c first commit hace 8 años
phpunit.xml 54fc7e274c first commit hace 8 años
readme.md 46b25b70b1 add hace 8 años
server.php 54fc7e274c first commit hace 8 años
webpack.mix.js 54fc7e274c first commit hace 8 años

readme.md

安装

  • git clone 到本地
  • 执行 composer install,创建好数据库
  • 配置 .env 中数据库连接信息,没有.env请复制.env.example命名为.env
  • 执行 php artisan key:generate
  • 执行 php artisan migrate
  • 执行 php artisan db:seed
  • 键入 '域名/admin/login'(后台登录)

  • 生成文档 apidoc -i app/Http/Controllers/Api/V1 -o public/apidoc

  • api文档在public/apidoc里面, 也可以看上面的 在线api文档

####注意第一次安装的时候要

USEFUL LINK