Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/snails8/docker-laravel-nuxt


https://github.com/snails8/docker-laravel-nuxt

Last synced: 15 days ago
JSON representation

Awesome Lists containing this project

README

        

### 前提
フロント側にNuxt.js,バックエンドをAPIとしてlaravelで作成

### backend
install laravelX.X

```
# Install the latest Laravel project
$ make create-project

$ make install-recommend-packages
```
or
```
$ docker-compose exec app bash

$ composer create-project --prefer-dist "laravel/laravel=8.*" .

$ php artisan -V
Laravel Framework X.X.X
```
### frontend
```
# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate
```