/laravel-react-sanctum-mui

Fullstack Laravel project with React and Laravel Sanctum authentication and material UI

Primary LanguagePHP

About this project

This is a base Laravel project with ReactJS frontend and Laravel Sanctum API authentication. You could read more about here.

Installation

After you boot up this project according the official documentation you should install the dependencies:

composer install

npm install

And build the project:

npm run dev

Docker - Sail up!

You could run this project usin Docker - Sail. Here is the official sail documentation for more info.

Run the following command to install dependencies:

docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/opt \
-w /opt \
laravelsail/php80-composer:latest \
composer install --ignore-platform-reqs

After succesful installation you could run: ./vendor/bin/sail up

License

The Laravel framework is open-sourced software licensed under the MIT license.