1.0.3 • Published 4 years ago

create-min-express-react v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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