Overview
This repository showcases a monorepo managed by Lerna, which includes a Next.js app, a shared UI package, and Firebase integration. The monorepo is organized into different packages: frontend, ui, core, and functions.
Features
- Frontend: A Next.js web application that utilizes components from the UI package.
- UI: A collection of reusable UI components developed with React and TypeScript.
- Core: A collection of reusable core functions, hooks, and other utilities.
- Functions: Serverless functions implemented using Firebase Functions, offering backend services for the Next.js app.
Installation
Follow these steps to set up the monorepo:
- Ensure you have Node.js version 16.19.x or later installed.
- Install the Firebase CLI (optional, only necessary for deploying Firebase Functions).
- Clone the repository:
git clone [repository URL]
- Install the Lerna CLI globally:
npm install -g lerna
Summary
This repository demonstrates the organization of a monorepo using Lerna. It consists of a Next.js application, a UI package with reusable components, and Firebase integration for backend services. By following the installation instructions, developers can easily set up and explore this monorepo. There are also plans to add features such as a code generator, testing library, Storybook, and i18n support in the future.