๐ Micro Frontend Turborepo Starter
Welcome to the Micro Frontend Turborepo Starter!
This project demonstrates a monorepo setup for micro frontends using Turborepo. ๐
๐๏ธ Project Overview
This repository follows a monorepo architecture to manage multiple micro frontends efficiently. It includes:
- Applications (apps/): Independent frontend apps.
- Shared Packages (packages/): Reusable configurations and components.
๐ฆ Shared Packages
To ensure consistency across micro frontends, this repo includes the following reusable packages:
- eslint-config ๐งน โ Standardised ESLint rules for consistent code style.
- tailwind-config ๐จ โ Shared Tailwind CSS setup for a unified design system.
- typescript-config ๐ โ Common TypeScript settings for better maintainability.
- ui ๐๏ธ โ A component library with reusable UI elements.
๐ Deployments
This project is hosted on Vercel with automatic deployments:
- Host Application: microfrontends-monorepo.vercel.app
- Remote Application: microfrontends-monorepo-journeya.vercel.app
๐ Tech Stack
- ๐ฆ Monorepo Structure โ Efficiently manage multiple micro frontends.
- ๐ Micro Frontend Architecture โ Independent development and deployment of frontend modules.
- โก Turborepo Integration โ Speeds up builds and improves performance.
- ๐ Vercel Hosting โ Automatic and scalable deployments.
- ๐จ Shared Configurations โ Standardised ESLint, Tailwind, and TypeScript settings.
- ๐ฅ๏ธ Reusable UI Library โ Prebuilt components for a consistent UI.
- ๐ TypeScript โ Strongly typed JavaScript.
- ๐ React โ UI library for building modular frontends. ๐ฆ Tailwind CSS โ Utility-first styling framework.
๐ Getting Started
Clone the repository:
git clone https://github.com/imevanc/microfrontends-monorepo.git
Navigate to the project directory:
cd microfrontends-monorepo
Install dependencies:
pnpm install
Start the development server:
pnpm run dev
The host application will be available at http://localhost:3000 and the remote at http://localhost:3001.
๐ License
This project is licensed under the MIT License.
๐ค Contributing
Contributions are welcome! Open an issue or submit a pull request.
๐ง Contact
For questions or suggestions, open an issue in this repository.
Enjoy building with the Micro Frontend Turborepo Starter! ๐๐