A lightweight create-react-app
alternative for typical React project (React.js, Redux, Redux Sagas, Reselect, Ramda.js and etc.)
To speedup development and debugging it's essential to install React Developer Tools and Redux Developer Tools as plugins for your browser.
- Clone repo to your working directory
- Install required packages with
npm i
- Build app with
npm run build
,npm run build:dev
ornpm run build:watch
- Run app locally with
npm run server
ornpm run server:ssl
- Install
ca.ssl.indexnl.com.crt
certificate insideserver/certificate
folder in order to use SSL on your localhost (See the detailed installation guide for Windows users)
- Navigate to
server/certificate
folder inside app working directory - Double click on
ca.ssl.indexnl.com.crt
certificate file - Press
Install Certificate
button - Select certificate store location and press
Next
(can be skipped by default) - Select
Place all certificates in the following store
and pressBrowse
button - In the opened window select
Trusted Root Certification Authorities
and pressOk
- Make sure
Trusted Root Certification Authorities
appeared in certificate store input field and pressNext
- In the newly opened window press
Finish
button - After successful installation close all browser instances in order new settings to take effect
- Keep deps "up to date"
- Optimize newly added deps with
babel-plugin-transform-imports
(See examples)
- Server: Requesting a non static asset file cause to return index.html document instead of 404 error
- Environment: spdy is not supporting Node.js versions greater than
10.18.1
- App: offline-plugin isn't unregistering service worker if app is running in DEV mode after PROD