fdemir / rinzler

example implementation of microfrontend architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rinzler

Rinzler is an example implementation of microservice frontend architecture via using single-spa framework. The aim is release a project is similar to spotify. Each individual app uses different tech stack to expose the component.

There is no attempt to produce a production ready project. It's just a experimental project and see how it works. But anyway we have still some issues about implementing the mfa.

Micro-frontend architecture is a strategy in which the traditionally monolithic frontend codebase is split into smaller apps, ideally addressing the various business domains. All these smaller elements form a seamless frontend interface that delivers top-notch user experience and is easy to modify and scale.

General Info

there are three kinds of microfrontends in single-spa framework. The list is following:

  1. single-spa applications: Microfrontends that render components for a set of specific routes.
  2. single-spa parcels: Microfrontends that render components without controlling routes.
  3. utility modules: Microfrontends that export shared JavaScript logic without rendering components.

root-config(single-spa) 5000

Microfrontends:

  • sidebar(react) 5001
  • main(svelte) 5002
  • friends list(vue) 5003
  • player(svelte) 5004

Draft

Requirements

  • Docker

Getting Started

root-config is running on 5000!

docker-compose up -d

Notes

  • Allowed all origins due to cors issues

Resoures

About

example implementation of microfrontend architecture


Languages

Language:JavaScript 48.3%Language:EJS 22.2%Language:Vue 11.0%Language:HTML 7.5%Language:Dockerfile 5.9%Language:Svelte 2.0%Language:Shell 1.8%Language:CSS 1.4%