Skip to content
React, Express, and Webpack Boilerplate App
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit 7993f58 Aug 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__
src Update definition check for module.hot Jan 2, 2019
.babelrc Upgrade to babel 7 Feb 22, 2019
.eslintrc.js Add Enzyme for use with Jest May 24, 2018
.gitignore
LICENSE Add MIT License Feb 22, 2019
README.md Add Enzyme for use with Jest May 24, 2018
jest.config.js Add Enzyme for use with Jest May 24, 2018
package-lock.json Upgrade packages Aug 9, 2019
package.json Upgrade packages Aug 9, 2019
webpack.dev.config.js init - branch off of expack May 24, 2018
webpack.prod.config.js
webpack.server.config.js init - branch off of expack May 24, 2018

README.md

Rexpack

Rexpack is a minimal Express, Webpack, & React boilerplate app that serves an image, adds some styling and some basic functionality, just to show everything working at the most basic level. This project can then be used as a template for other more complex apps.

Stack: Node (ES6+), Express, Webpack, React, Jest, and Enzyme that has Hot Module Reloading and can be deployed to Google App Engine with a single command. It has dev and prod builds, where the prod build outputs a minified, uglified bundle where images are encoded in Base64 directly into the css file.

Rexpack can be run locally on your machine, or pushed to Google App Engine Flexible Environment.

Installation

npm install

Create a Development build

npm run buildDev

Create a Production build

npm run buildProd

Run the code on a local webserver

npm start

Then navigate to http://localhost:8080

Deploy to Google App Engine Flex

npm run deploy

Run test

npm test

Generate coverage report

npm run coverage
You can’t perform that action at this time.