create-min-express-react

1.0.3 • Public • Published

Create Min Express React

Create a minimal express.js server together with the simplicity of create-react-app.

NPM Version NPM Downloads

Quick Overview

Install the cli:
npm install -g create-min-express-react
 
To run the dev server:
create-min-express-react my-app
cd my-app
npm install
npm run dev

The dev command utilizes the concurrently package to run the server via nodemon and uses react-scripts to run the react dev server.

To run the application:
create-min-express-react my-app
cd my-app
npm install
npm build
npm start

npm build will execute the react-scripts build command that comes with CRA.

To install dependencies for the server:

Navigate to your project directory and run

npm install <package name>
To install depecndencies for the client:

Navigate to your project directory and run

cd client
npm install <package name>

or

npm install <package name> --prefix client

License

MIT

Package Sidebar

Install

npm i create-min-express-react

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

8.79 kB

Total Files

8

Last publish

Collaborators

  • frederikpietzko