Create React App Express
Express server for your Create React App projects featuring server-side rendering.
Please visit Create React App Universal CLI for the usage.
How it works
- In development mode, the middleware will try to proxy into the CRA client to get the required
index.html
, and then proceed to render on the server - By default, the middleware will try to use default CRA client port (3000), and you can change it using
CRA_CLIENT_PORT
env variable - In production mode, the middleware will get the
index.html
from your CRA client build
Credits
License
MIT