• Stars
    star
    179
  • Rank 213,346 (Top 5 %)
  • Language Vue
  • Created about 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Laravel学院 Roast 应用源码

roastapp

本项目是 Laravel 学院 Roast 应用源码,Roast 是一个基于高德地图搜索附件咖啡店的项目,基于 Larave 5.6 + Vue 2 开发,是一个由 API 驱动的前后端分离应用。

应用截图

首页:

Roast首页

详情页:

Roast详情页

新增页:

Roast编辑页

使用说明

git clone https://github.com/nonfu/roastapp.git
cd roastapp
composer install
cp .env.example .env
php artisan key:generate

配置 .env 中的数据库配置,Github 相关配置和高德地图 Web 服务 API KEY,然后运行

php artisan migrate
php artisan passport:install

执行数据库变更,并初始化 API 认证所需脚手架,后端初始化完成之后,初始化前端资源:

npm install 
npm remove bootstrap --save-dev
npm remove bootstrap-sass --save-dev
npm run dev

配置应用本地域名为 roast.test,就可访问应用了。

构建教程

https://laravelacademy.org/api-driven-development-laravel-vue