Skip to content

Laravel 10, inertia, react, ssr, scss, mantine, phpcs, eslint

Notifications You must be signed in to change notification settings

runthis/laravel-inertia-react-ssr

Repository files navigation

About

This is an opinionated Laravel 10 install using React with Server-side Rendering (SSR).

Setup

git clone [email protected]:runthis/laravel-inertia-react-ssr.git my-app

bash ./bin/init.sh

Accessing the site

http://localhost/

Accessing the starter react page

http://localhost/test

Using SSR

sail artisan inertia:start-ssr

Packages & Features

Base

Development

Features

Custom ports

If you want to change the default ports you can add env variables to your local .env file and restart the container

Main site

APP_PORT=####

MariaDB

FORWARD_DB_PORT=####

Redis

FORWARD_REDIS_PORT=####

Meilisearch

FORWARD_MEILISEARCH_PORT=####

Mailpit

FORWARD_MAILPIT_PORT=####

FORWARD_MAILPIT_DASHBOARD_PORT=####