express-react-generator

Express application generator with create-react-app

Usage no npm install needed!

<script type="module">
  import expressReactGenerator from 'https://cdn.skypack.dev/express-react-generator';
</script>

README

Express Logo

Express application generator with create-react-app .

Installation

$ npm install -g express-react-generator

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Create the app:

$ express-react /tmp/foo && cd /tmp/foo

Setup server and client:

$ bash setup.sh

Start your react app at http://localhost:3000/:

$ cd client && npm start

Start your Express.js app at http://localhost:3002/:

$ ./dev-server.sh

Command Line Options

This generator can also be further configured with the following command line flags.

    --version        output the version number
-f, --force          force on non-empty directory
-h, --help           output usage information

License

MIT

Contribution

Team Mobylogix

Mobylogix Hire Logo

Follow us for the latest updates
Twitter URL Twitter Follow