Getting started

Create Micro Create App (CMRA) was created aiming to easy how we build microfrontend architecture.

Want to know more about microfrontends? Check this page.

Quick Start

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

Then open http://localhost:3000/ to see your app.

With this simple commands you can create your application containing one simple webapp connected with a microfrontend.

Folder structure

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