Basic configuration to start a basic React project using Webpack, includes the configuration of webpack-dev-server and json-server for consume a json for tests in the port 3001.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Requires Node.js v6.4.1.
git clone https://github.com/bautistaj/basic-config-webpack.git
cd basic-config-webpack
npm install
npm run start
Only change the db.json in the directory server with your own structure.
Start webpack-dev-server and json-server with next script.
npm run start
Start only webpack-dev-server.
npm run build:dev
http://localhost:8080/ http://localhost:3001/ http://localhost:3001/test
MIT