{"id":13545582,"url":"https://github.com/moeen-basra/laravel-react","last_synced_at":"2025-04-04T07:09:01.038Z","repository":{"id":38151105,"uuid":"84967588","full_name":"moeen-basra/laravel-react","owner":"moeen-basra","description":"Laravel 8 and React 17 boilerplate","archived":false,"fork":false,"pushed_at":"2022-08-15T14:38:47.000Z","size":6862,"stargazers_count":569,"open_issues_count":0,"forks_count":244,"subscribers_count":34,"default_branch":"main","last_synced_at":"2025-03-28T06:09:48.106Z","etag":null,"topics":["bootstrap-4","composer","docker","laravel","laravel-mix","laravel-react-boilerplate","laravel-react-crud","laravel-react-docker","laravel-react-spa","laravel8","react","react-router-dom","redux"],"latest_commit_sha":null,"homepage":"http://laravel-react.moeen.me/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moeen-basra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-14T15:48:05.000Z","updated_at":"2025-02-09T20:17:20.000Z","dependencies_parsed_at":"2022-08-08T23:15:50.948Z","dependency_job_id":null,"html_url":"https://github.com/moeen-basra/laravel-react","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen-basra%2Flaravel-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen-basra%2Flaravel-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen-basra%2Flaravel-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen-basra%2Flaravel-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moeen-basra","download_url":"https://codeload.github.com/moeen-basra/laravel-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135144,"owners_count":20889421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap-4","composer","docker","laravel","laravel-mix","laravel-react-boilerplate","laravel-react-crud","laravel-react-docker","laravel-react-spa","laravel8","react","react-router-dom","redux"],"created_at":"2024-08-01T11:01:06.093Z","updated_at":"2025-04-04T07:09:01.017Z","avatar_url":"https://github.com/moeen-basra.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://laravel.com/assets/img/components/logo-laravel.svg\"\u003e\u003c/p\u003e\n\n## Laravel 8 and React 17 boilerplate\nThere are two different ways to run this demo\n\nPlease follow the guide.\n\n## Prerequisite\n\n1. Make sure you have [composer](https://getcomposer.org/download/) installed.\n2. Make sure you have latest stable version of [node](https://nodejs.org/en/download/) installed.\n\n### Option 1\n\n1. `git clone`\n2. `create a .env file copy content from .env.example and update the values`\n3. `composer install \u0026\u0026 composer update`\n4. `php artisan cron:refresh-database`\n5. if npm version \u003c 7 `npm install \u0026\u0026 npm run dev` else `npm install --legacy-peer-deps \u0026\u0026 npm run dev`\n6. `php artisan key:gen`\n7. `php artisan serve`\n\n### Option 2\n\n## Prerequisite\nMake sure you have [docker](https://docs.docker.com/install/) and [docker-compose](https://docs.docker.com/compose/install/) installed on you machine.\n\n1. `git clone`\n2. `create a .env file copy content from .env.docker and do not make any change`\n\nrun following command in terminal / power shell\n```\ndocker-compose up -d\n```\n\nwhen docker will finish building the containers, access the \"laravel-react-app\" container using following command\n\n`docker exec -it lr_app sh`\n\nnow you will be inside container\n\nrun following commands\n1. `composer install \u0026\u0026 composer update`\n2. `php artisan cron:refresh-database`\n3. `php artisan key:gen`\n4. if npm version \u003c 7 `npm install \u0026\u0026 npm run dev` else `npm install --legacy-peer-deps \u0026\u0026 npm run dev`\n\nopen browser and check the following address\n\n`http://localhost:8100`\n\nTODO:\n\n- [x] Add Redux\n- [x] Add Laravel Sanctum for authentication\n- [x] User Login\n- [x] User Register\n- [x] Users Crud\n- [x] Articles Crud\n- [x] Form validation Client and Server\n- [x] Reset Password\n- [x] Tests\n- [x] Upgrade to Laravel 7\n- [x] Upgrade to React 16.13\n- [x] docker\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeen-basra%2Flaravel-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoeen-basra%2Flaravel-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeen-basra%2Flaravel-react/lists"}