A Boilerplate Project to start working on React with Gulp and Express on the backend
Run
npm install -d
to install all the dependencies from package.json
Run
npm install -g gulp
to install Gulp globally. You may need Root permissions to install.
Run
gulp
to start the Gulp task automator and development server
Run
gulp build
to start the build process without running the development server
Once you have the build folder generated, to run this as a single page web app, use only the public folder with index.html.
If you want to make use of server side rending on express on nodejs, then use the server.js to return 1st-time pre-rendered react markup.