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

https://github.com/shipwebdotjp/inertiajs-tutorial-laravel10

This is a Tutorial for Inertia.js on laravel 10
https://github.com/shipwebdotjp/inertiajs-tutorial-laravel10

Last synced: about 1 month ago
JSON representation

This is a Tutorial for Inertia.js on laravel 10

Awesome Lists containing this project

README

          

# Inertia.js Tutorial on laravel 10🐳

![License](https://img.shields.io/github/license/ucan-lab/docker-laravel?color=f05340)
![Stars](https://img.shields.io/github/stars/ucan-lab/docker-laravel?color=f05340)
![Issues](https://img.shields.io/github/issues/ucan-lab/docker-laravel?color=f05340)
![Forks](https://img.shields.io/github/forks/ucan-lab/docker-laravel?color=f05340)

## Introduction

This is a Tutorial for Inertia.js on laravel 10

## Usage

```bash
$ git clone https://github.com/shipwebdotjp/inertiajs-tutorial-laravel10.git
$ cd inertiajs-tutorial-laravel10
$ make create-project # Install the latest Laravel project
$ make install-recommend-packages # Not required
```

http://localhost

Read this article: [Inertia.js tutorial #9](https://blog.shipweb.jp/inertia-js-tutorial-9/).

## Tips

Read this [Wiki](https://github.com/ucan-lab/docker-laravel/wiki).

## Container structure

```bash
├── app
├── web
└── db
```

### app container

- Base image
- [php](https://hub.docker.com/_/php):8.1-fpm-buster
- [composer](https://hub.docker.com/_/composer):2.2

### web container

- Base image
- [nginx](https://hub.docker.com/_/nginx):1.24-alpine
- [node](https://hub.docker.com/_/node):20-alpine

### db container

- Base image
- [mysql](https://hub.docker.com/_/mysql):8.0

#### Persistent MySQL Storage

By default, the [named volume](https://docs.docker.com/compose/compose-file/#volumes) is mounted, so MySQL data remains even if the container is destroyed.
If you want to delete MySQL data intentionally, execute the following command.

```bash
$ docker-compose down -v && docker-compose up
```