Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jubaerhossain/laravel-react-redux-starter
https://github.com/jubaerhossain/laravel-react-redux-starter
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jubaerhossain/laravel-react-redux-starter
- Owner: JubaerHossain
- License: mit
- Created: 2020-06-24T03:12:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-27T22:20:24.000Z (over 2 years ago)
- Last Synced: 2023-03-05T09:08:24.743Z (almost 2 years ago)
- Language: TSQL
- Size: 704 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
Don't forget to giver star
## Laravel 7 and React 16.13 boilerplate
There are two different ways to run this demoPlease follow the guide.
## Prerequisite
1. Make sure you have [composer](https://getcomposer.org/download/) installed.
2. Make sure you have latest stable version of [node](https://nodejs.org/en/download/) installed.### Option 1
1. `git clone`
2. `create a .env file copy content from .env.example and update the values`
3. `composer install && composer update`
4. `php artisan cron:refresh-database`
5. `npm install && npm run dev`
6. `php artisan key:gen`
7. `php artisan serve`### Option 2
## Prerequisite
Make sure you have [docker](https://docs.docker.com/install/) and [docker-compose](https://docs.docker.com/compose/install/) installed on you machine.1. `git clone`
2. `create a .env file copy content from .env.docker and do not make any change`run following command in terminal / power shell
```
docker-compose up -d
```when docker will finish building the containers, access the "laravel-react-app" container using following command
`docker exec -it laravel_react_app sh`
now you will be inside container
run following commands
1. `composer install && composer update`
2. `php artisan cron:refresh-database`
3. `php artisan key:gen`
4. `npm install && npm run dev`open browser and check the following address
`http://localhost:8100`
TODO:
- [x] Add Redux
- [x] Add Passport for authentication
- [x] User Login
- [x] User Register
- [x] Users Crud
- [x] Articles Crud
- [x] Form validation Client and Server
- [ ] Reset Password
- [x] Tests
- [x] Upgrade to Laravel 7
- [x] Upgrade to React 16.13
- [x] docker