generator-react-client

1.2.1 • Public • Published

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-client

Then generate your new project:

yo react-client myproject

Project 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 dev

Build to production|stage

NODE_ENV=production ENV=production|stage npm run build

Testing

Using jest with enzyme and chai (see examples on ./src/client/**/*.spec.js)
npm test

Deploy to AWS production|stage (with Serverless)

NODE_ENV=production ENV=production|stage npm run serverless:deploy

Package Sidebar

Install

npm i generator-react-client

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

82.8 kB

Total Files

83

Last publish

Collaborators

  • wgleen