Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakubkontra/lerna-monorepo-firebase-next
A TypeScript starter template for building web applications with Next.js and Firebase using lerna monorepo.
https://github.com/jakubkontra/lerna-monorepo-firebase-next
firebase lerna-monorepo monorepo nextjs nextjs-starter typescript
Last synced: about 1 month ago
JSON representation
A TypeScript starter template for building web applications with Next.js and Firebase using lerna monorepo.
- Host: GitHub
- URL: https://github.com/jakubkontra/lerna-monorepo-firebase-next
- Owner: JakubKontra
- Created: 2023-03-19T18:56:45.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T10:23:23.000Z (over 1 year ago)
- Last Synced: 2024-02-12T18:01:40.665Z (11 months ago)
- Topics: firebase, lerna-monorepo, monorepo, nextjs, nextjs-starter, typescript
- Language: TypeScript
- Homepage:
- Size: 354 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lerna Monorepo with Next.js, UI Package, and Firebase
This repository demonstrates a monorepo managed by Lerna, containing a Next.js app, a shared UI package, and Firebase integration.
## Packages
The monorepo is organized into the following packages:
1. **frontend**: A Next.js web application that consumes components from the UI package.
2. **ui**: A collection of reusable UI components, built with React and TypeScript.
3. **core**: A collection of reusable core functions, hooks, etc.
4. **functions**: Serverless functions using Firebase Functions, providing backend services for the Next.js app.## TODO
- [ ] Hygen boiler plate code generator
- [ ] Testing library
- [ ] Storybook
- [ ] i18n cached## Getting Started
Follow these steps to set up the monorepo:
### Prerequisites
- Node.js 16.19.x or later
- Firebase CLI (optional, for deploying Firebase Functions)### Installation
1. Clone the repository:
```shell
git clone https://github.com/JakubKontra/lerna-monorepo-firebase-next.git
cd lerna-monorepo-firebase-next
```2. Install the Lerna CLI globally:
```shell
npm install -g lerna
```