Look inside
Micro frontends take a vertical approach to web development, splitting an application into standalone components that encompass everything from user interfaces to backend logic. In this liveProject, you’ll use the micro frontends approach to help solve a tricky issue for music streaming service Red Records.
Red Records has two separate development teams working in two separate time zones, and they are currently arguing over whether to use React or Vue.js for their frontend. Your challenge is to set up a new micro frontends architecture that will allow them to work independently, in parallel, with separate stacks, and no need to talk to each other! You’ll build two micro frontends using Vue.js and React respectively, and set up a Bootstrap client-side orchestrator to handle loading, persist authentication, and routing. Better be fast—your new app launches in just a few months.
This project is designed for learning purposes and is not a complete, production-ready application or solution.
prerequisites
This liveProject is for JavaScript developers with production experience building modern web applications using RESTful APIs. Knowledge of Vue.js and React will be helpful, but not essential. To begin this liveProject, you will need to be familiar with:
TOOLS
- Intermediate JavaScript
- Basic RESTful APIs
- Basic Node.js
TECHNIQUES
- Understanding of DOM APIs
you will learn
Developers who want to scale frontend web applications will love this project. You’ll master a multi-team frontend architecture that favors team independence, and solve common organizational issues with a technical fix.
- Using multiple frontend frameworks in the same web application
- Develop micro frontends from single page applications
- Build a framework-agnostic client-side orchestrator that loads and unloads micro frontends
- Create a contract for communications between Bootstrap and micro frontends
- Protect micro frontends with authentication and JWT tokens
- Define the boundaries of a micro frontend in a clear ownership model