Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crazyfactory/react-php-ssr-demo
Demo for React SSR + Redux with PHP
https://github.com/crazyfactory/react-php-ssr-demo
Last synced: 18 days ago
JSON representation
Demo for React SSR + Redux with PHP
- Host: GitHub
- URL: https://github.com/crazyfactory/react-php-ssr-demo
- Owner: crazyfactory
- Created: 2019-09-04T09:14:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T04:18:28.000Z (about 2 years ago)
- Last Synced: 2024-11-06T08:18:01.960Z (2 months ago)
- Language: TypeScript
- Size: 445 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo for React SSR + Redux with PHP
## Setup
Create `./config/main.local.js`
Create `./development/docker/docker-compose.local.yml`
Open terminal and run
```
$ composer install
$ npm install
$ npm install -g @crazyfactory/docker-project-cli
$ dopr pull
$ dopr up
```Open another terminal and run
```
$ npm run build
```Open one more terminal and run
```
$ npm run build:server
```Go to browser and open `localhost:8080`