create-react-app-express

1.1.1 • Public • Published

Create React App Express

Build Status npm version codecov

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

Package Sidebar

Install

npm i create-react-app-express

Weekly Downloads

2

Version

1.1.1

License

MIT

Last publish

Collaborators

  • antonybudianto