Skip to content

(Live Link) (2021) A Laravel 11.x boilerplate with ReactJS Redux SPA. See the readme misc for more PHP apps.

License

Notifications You must be signed in to change notification settings

kkamara/php-reactjs-boilerplate

Repository files navigation

php-reactjs-boilerplate.png

php-reactjs-boilerplate2.png

PHP Reactjs Boilerplate API

(2021) A Laravel 11.x boilerplate with ReactJS Redux SPA.

Using Thunder Client?

Thunder client Visual Studio Code extension.

thunder-collection_PHP Reactjs Boilerplate.json

Installation

# Create our environment file.
cp .env.example .env
# 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

Usage

php artisan serve --port=3000

Api Documentation

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.

Unit Tests

php artisan test --filter=Api

View the unit test code here.

Misc

See PHP ReactJS Boilerplate app.

See Python ReactJS Boilerplate app.

See MRVL Desktop.

See MRVL Web.

See Github to Bitbucket Backup Repo Updater.

See PHP Docker Skeleton.

See Python Docker Skeleton.

See Laravel 10 API 3.

See movies app.

See Food Nutrition Facts Search web app.

See Ecommerce Web.

See City Maps Mobile.

See Ecommerce Mobile.

See CRM.

See Birthday Currency.

See PHP Scraper.

Contributing

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.

License

BSD