(2021) A Laravel 11.x boilerplate with ReactJS Redux SPA.
Thunder client Visual Studio Code extension.
thunder-collection_PHP Reactjs Boilerplate.json
- 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.