To have the application up an running in no time, follow the next few steps:
- Install node.js
- Install all dependencies:
npm install
- Start the application:
npm start
- Access application on http://localhost:3000
NOTE:
webpack
is configured with hot-reloading for both.scss
and.jsx
files
Some of the major tools used are:
- npm as the task runner
- WebPack for bundling scripts for the browser, and enabling code sharing between client and server
- SASS for CSS preprosessing
All tools are configured in the webpack.config.js
and will run transparently when npm start
is run.
To create package:
- Run
npm run build
NOTE: if you use your browser's devTools, you can see the load-time difference from the normal dev build.