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

https://github.com/iammar7/microfrontends-init

A mircro-frontends application using Single SPA
https://github.com/iammar7/microfrontends-init

angular javascript json-server react single-spa tailwindcss vue

Last synced: 3 months ago
JSON representation

A mircro-frontends application using Single SPA

Awesome Lists containing this project

README

          

# Microfrontends Init

A Single-SPA based micro-frontends application developed with React, Angular, and Vue.

## Featues
- **3 microfrontends** running inside the root-config. :fire:
- **2 shared utility modules** are used by all microfrontends. :anchor:
- Navbar is built with **VueJS**. :fire:
- Auth module is built with **React**. :heart:
- Attendance module is built with **Angular**. :heart_on_fire:
- Home page is being rendered from the root-config. :chains:
- Style guide shared module is built with **Tailwind**. :small_blue_diamond:
- API shared module is using Axios. :calling:
- JSON server to perform authentication. :boom:

## Technologies
- Single SPA Single-SPA
- React React
- Angular Angular
- Vue Vue
- Tailwind Tailwind
- Node JS Nodejs
- JSON Server JSON Server

## How to run

Navigate to the root-config, styleguide, api, auth, attendance, navbar-vue, server folder and run the command

```js
npm install
```

## Run the application

- Navigate to the root-config, styleguide, api, auth, navbar-vue, server folder and run the below command

```js
npm start
```

- To run the Angular app, navigate to the attendance folder and run

```js
npm run serve:single-spa:attendance
```

In the browser open the application at

- Carefully check the PORT of your applications and update it accordingly in the [import map](https://github.com/iAmmar7/microfrontends-task-app/blob/main/root-config/src/index.ejs#L55) defined in root-config.

- There are two navbar microfrontends, one is built with React and the other one is built with VueJS.

- Server is created using the json-server.