Using Rekit to quickly create a React app

1. Installation

npm install -g rekit

2. Create a new app

rekit my-app
cd my-app
npm install
npm start

3. See the welcome page

4. Add a feature

npm run add:feature category

5. Add a page

npm run add:page category/my-page

6. Add a component

npm run add:page category/my-component

7. Add an action/async-action

npm add:async-action category/fetch-list

8. Run unit tests

npm test app/category/redux/fetchList.test.js  // for a single test
npm test app/**/*.test.js // for all app tests, it generates coverage report

9. Build the application

npm run build
npm run build:test




Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store