Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/curder/vue-spa

Vue单页面练习,vue-router、vee-validate、axios等
https://github.com/curder/vue-spa

Last synced: 3 days ago
JSON representation

Vue单页面练习,vue-router、vee-validate、axios等

Awesome Lists containing this project

README

        

# Development Version

* nodejs v7.6.0
* npm 5.3.0
* PHP 7.1.8
* Laravel Framework 5.5.3

## Install

```
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
npm install
```

## Configuration

* database
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=数据库名称
DB_USERNAME=数据库用户名
DB_PASSWORD=数据库用户名密码
```

```
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_NAME=Laravel
APP_ENV=local
```
* passport token
Run `php artisan passport:install` Get the CLIENT_ID && SECRET
```
PERSONAL_CLIENT_ID=1
PERSONAL_CLIENT_SECRET=

PASSPORT_CLIENT_ID=2
PASSPORT_CLIENT_SECRET=
```