Starter App for React, Babel, and Webpack on Glitch
Having access to ES6 features makes it much easier to use popular component libraries like Material-UI (the
import syntax is much easier to use than the
require() function for certain libraries). Therefore this app includes some examples of using Material-UI components.
package.json file contains extra scripts to help you develop your app locally, if you so choose. For local development, you do need to install some additional global dependencies, described below.
Prerequisites for local development
yarn global add nodemon npm-run-all yarn install
Build the client source and start the server. This is only used on Glitch, where yarn is not used.
Run in dev mode, meaning when you change files the server reloads automatically and the client source is recompiled
Build the client source, producing the
Run the server, which automatically reloads on changes