An open API service indexing awesome lists of open source software.

https://github.com/josdem/microfrontend-workshop

Microfrontend Workshop
https://github.com/josdem/microfrontend-workshop

cypress javascript jest playwright reactjs webpack

Last synced: 3 months ago
JSON representation

Microfrontend Workshop

Awesome Lists containing this project

README

          

## Microfrontend Workshop

This is a getting started project using [MFE](https://en.wikipedia.org/wiki/Microfrontend) implemented with [React](https://react.dev/), [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) and [jest](https://jestjs.io/)

#### To build

```bash
cd frontend
npm install
```

where `frontend` could be:

- `home`
- `pdp`
- `cart`
- `atc`

**Note:** In a different terminal window each `frontend`

#### To run the project

```bash
cd frontend
npm start
```

#### To run test with jest

```bash
cd frontend
npm test
```

### To format the project

```bash
npm run format
```

#### To see end-to-end tests with [Cypress](https://www.cypress.io/)

```bash
git checkout feature/cypress
```

#### To see end-to-end tests with [Playwright](https://playwright.dev/)

```bash
git checkout feature/playwright
```