The PRD really starter kit for ReactJs with hot module replacement (HMR) for rapid development.
request-promise and request for WebApi communication.
Code quality (linting) for JavaScript and LESS/CSS.
Based on the best practises of the Single-Page-Application development with NodeJS. I added the nice font-end component Material-Dashboard-React and Redux store integration.
Beside of that I also developped some useful compoment as Message box, Notification to make the Started-kit to be a Production ready SPA kit.
npm install
package.json
file.npm start
to run the project.Command | Description |
---|---|
npm run start |
Build app continuously (HMR enabled) and serve @ http://localhost:8080 |
npm run start-prod |
Build app once (HMR disabled) and serve @ http://localhost:3000 |
npm run start-analysis |
Build and start Webpack Bundle Analyser @ http://localhost:8888 |
npm run build |
Build app to /dist/ |
npm run test |
Run tests |
npm run lint |
Run JavaScript and LESS linter |
npm run lint:js |
Run JavaScript linter |
npm run lint:less |
Run LESS linter |
npm rum test-ci |
Run Jest test and upload code to CodeCov.io |