create-min-express-react
v1.0.3
Published
A CLI to create a minial express.js application.
Downloads
1
Maintainers
Readme
Create Min Express React
Create a minimal express.js server together with the simplicity of create-react-app.
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