Skip to content

wgleen/generator-react-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

React + Node/Express generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published