React Starter
- React 15
- Webpack 3
- Node JS / Express
Development server
webpack-dev-server
Run npm run start:dev
for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
build dev dist
Run npm run build:dev
. And open dist/index.html
.
Build
dev dist
Run npm run build:dev
. And open dist/index.html
.
prod dist
Run npm run build
or npm run build:prod
to build the project. The build artifacts will be stored in the dist/
directory.
Node server
Run npm run start:server
for a node server both for dev or prod build dist. Navigate to http://localhost:8080/
.