Skip to content

Latest commit

 

History

History
122 lines (77 loc) · 3.65 KB

readme.md

File metadata and controls

122 lines (77 loc) · 3.65 KB

php-reactjs-boilerplate.png

php-reactjs-boilerplate2.png

PHP ReactJS Boilerplate API

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

Using Postman?

Postman client.

Published Postman API Collection.

Installation

# 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

Usage

herd link boilerplate
# Website accessible at http://boilerplate.test

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