Nostradamus Predicting Maelstroms


Need private packages and team management tools?Check out npm Orgs. »


1.1.5 • Public • Published


Starter package for writing an ES6 React app using Express for the back-end, SQLite3 for data persistence, Material-UI for front-end visuals, Redux for front-end data flow, Babel and Webpack for tooling/building, and Karma, Enzyme, Mocha, Sinon and Chai for quality assurance.

About mkreact

mkreact was created while I was learning React and found the setup process extremely tedious. This package is a complete project seeder for a React web-app, including a demo section with a todo list implementation that shows how data flows through the full stack, and basic tests to show how a React app can be tested.

Feel free to use it for your own projects or to learn about React using Redux.

Using mkreact


mkreact was not designed to be cloned and worked upon. Install it globally via: npm i mkreact -g

mkreact will install scripts in /usr/local/bin (sorry, Windows is not supported, fork this repo and add in Windows support if you really want it, will accept your pull request).

Navigate to your project and use the following command to seed a fresh project: cd ./my-project

Alternatively, create the directory and cd into it: mkdir new-project-folder; cd ./new-project-folder

In-built Scripts

Run mkreact to create your project.

Run npm install --development to start development work on it.

Run npm install when in CI/production environment.

Run npm start --development to start the server in development mode.

Run npm start --production to start the server in production mode.

Run npm build to create the bundled files using the inbuilt webpack configuration.

Run npm test to run tests using the inbuilt karma configuration.


In-built behaviour for development/production differs in that development loads a programatically generated master.js file (webpacked bundle) whereas production loads the master.js file from the /assets folder which needs to be built via npm build before it becomes available. See /configurations/webpack.js for more information on this.



The Express framework is used on the back-end server to serve files and to specify an API for the React App to draw/send data to the data storage.

URL Link:

Reference Links: [ ]


SQLite3 is the included database and you can swap it out when you are looking to scale. SQL Syntax is similar to MySQL/Postgres/OracleDB.

URL Link:

Reference Links: [ ]



A UI framework by Facebook that we will be using.

URL Link:


A Material Design implementation for React.

URL Link:


An improved version of Flux - and yes it's approved by the original conceivers of Flux.

URL Link:



This packages all specified files into one master file (a bundle) that can be included on your webpage once built.

URL Link:

Reference Links: [ ]


A middleware implementation of the webpack-dev-server npm package. Allows us to run our main server and webpack tooling system within the same process.

URL Link:


This project assumes development in ES6 JavaScript and Babel is required to transpile the ES6 code into legacy browser compatible code.

URL Link:

Quality Assurance


Karma is a test runner and this project's configuration pairs it with PhantomJS to render components.

URL Link:


Enzyme is a component tester that allows us to mount React components for testing.

URL Link:


Mocha is a test framework that implements a describe '/*feature*/' and it '/*does this*/' format of testing.

URL Link:


Sinon is used to access hidden properties of JavaScript objects.

URL Link:


Chai is a syntax formatter that allows us to write BDD tests where we can expect(SomeComponent.someValue)

URL Link:


npm i mkreact

Downloadsweekly downloads






last publish


  • avatar
Report a vulnerability