(2021) A Laravel 11.x boilerplate with ReactJS 18 Redux SPA.
Published Postman API Collection.
- Laravel Herd
- MySQL (recommended) or database engine of SQLite, MariaDB, PostgreSQL, SQL Server
- https://laravel.com/docs/11.x/installation
- https://laravel.com/docs/11.x/vite#main-content
# Create our environment file.
cp .env.example .env
# Update database values in .env file.
# Install our app dependencies.
composer i
php artisan key:generate
# Before running the next command:
# Update your database details in .env
php artisan migrate --seed
npm install
npm run build
herd link boilerplate
# Website accessible at http://boilerplate.test
php artisan route:list
# output
...
POST api/user ............................ login › API\UserController@login
GET|HEAD api/user/authorize .................. API\UserController@authorizeUser
POST api/user/register ................... API\UserController@register
...
View the api collection here.
php artisan test --filter=API
View the unit test code here.
See PHP ReactJS Boilerplate app
See Python ReactJS Boilerplate app
See Github to Bitbucket Backup Repo Updater
See Food Nutrition Facts Search web app
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.