Skip to content

ganny26/generator-create-express-react-app

Repository files navigation

NPM

Motivation

To create a simple react express webapp application powered by Webpack 4

Installation

npm install -g yo
npm install -g generator-create-express-react-app

Then generate your new project:

yo create-express-react-app

How to run app

cd <your app name>
yarn dev

Directory layout

.
├── build
├── build-dev
├── config
├── src
│   ├── client
│   ├── server
│        ├── bin
│        ├── controller
├── .babelrc
├── .prettierrc
└── Dockerfile

Completed

  • database & orm
  • package, build and hot-reload
  • sass, material-ui
  • environment support for config variable store
  • dockerfile & docker-compose
  • testing automation
  • publish to yeoman

Things to do

  • log message after app created
  • static asset pipeline
  • health check api and webpage
  • debugging and benchmarking tools
  • authentication and authorisation using JWT
  • caching and background job
  • write a blog about this

License

MIT © Selvaganesh