Create Micro React App Save

✨ Create a microfrontend architecture as simple as CRA.

Project README

:sparkles: Create Micro React App Build Status Build Status Quality Gate Status

Most complete approach to microfrontend architecture:

If you want to know more about microfrontends and why you should (or shouldn't) use it, check this article.

:zap: Quick Overview

  npx @cmra/cli create my-app
  cd my-app
  npm start

:rocket: Demo

Microfrontend Store: Demo

:floppy_disk: Installing

To install our cli you need Node >= 13.

npm

  npm i -g @cmra/cli

yarn

  yarn global add @cmra/cli

:computer: Using it

After installing it, you'll have cmra command available:

  cmra create my-app

It will generate a folder structure like:

  my-app
  ├── package.json
  ├── packages
  |  ├── microfrontend # create-react-app structure folder
  |  |  ├── README.md
  |  |  ├── package.json
  |  |  ├── public
  |  |  |  ├── favicon.ico
  |  |  |  ├── index.html
  |  |  |  ├── logo192.png
  |  |  |  ├── logo512.png
  |  |  |  ├── manifest.json
  |  |  |  └── robots.txt
  |  |  ├── src
  |  |  |  ├── App.css
  |  |  |  ├── App.js
  |  |  |  ├── App.test.js
  |  |  |  ├── index.css
  |  |  |  ├── index.js
  |  |  |  ├── logo.svg
  |  |  |  ├── serviceWorker.js
  |  |  |  └── setupTests.js
  |  |  └── yarn.lock
  |  └── webapp # create-react-app structure folder
  |     ├── README.md
  |     ├── package.json
  |     ├── public
  |     |  ├── favicon.ico
  |     |  ├── index.html
  |     |  ├── logo192.png
  |     |  ├── logo512.png
  |     |  ├── manifest.json
  |     |  ├── microfrontends
  |     |  |  └── meta.json
  |     |  └── robots.txt
  |     ├── src
  |     |  ├── App.css
  |     |  ├── App.js
  |     |  ├── App.test.js
  |     |  ├── index.css
  |     |  ├── index.js
  |     |  ├── logo.svg
  |     |  ├── serviceWorker.js
  |     |  └── setupTests.js
  |     └── yarn.lock
  └── yarn.lock

:hammer: Development

First of all, check our contributing guide. If you have any questions just open an issue!

:books: Docs

https://matheusmr13.github.io/create-micro-react-app/docs/


Icon made by Freepik from www.flaticon.com

Open Source Agenda is not affiliated with "Create Micro React App" Project. README Source: matheusmr13/create-micro-react-app

Open Source Agenda Badge

Open Source Agenda Rating