generator-react-client
v1.2.1
Published
React + Node/Express generator
Maintainers
Readme
React Client Generator (generator-react-client)
React client with Node/Express backend middleware
Installation
First, install Yeoman and generator-react-client using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-react-clientThen generate your new project:
yo react-client myprojectProject Documentation
Requirements
- Node
- npm
Stack
- Node
- Serverless (AWS Lambda + API Gateway + S3)
- Webpack
- ES6 (Babel)
- React
- React Router
- Redux / Redux Form
- PostCSS / SASS
- Material UI
- Jest / Enzyme / Chai
Initialization
npm i && npm run devBuild to production|stage
NODE_ENV=production ENV=production|stage npm run buildTesting
Using jest with enzyme and chai (see examples on ./src/client/**/*.spec.js)
npm testDeploy to AWS production|stage (with Serverless)
NODE_ENV=production ENV=production|stage npm run serverless:deploy