This project is a demonstration of a monorepo setup with the following components:
- A frontend developed with Next.js.
- A separate frontend developed with TypeScript.
- A backend developed with Django.
The node_modules
directories are shared using pnpm
and lerna
for efficient package management, and the components for both frontends are shared in a common folder as well.
Follow these steps to run the project:
- Install dependencies:
pnpm install
- Migrate the sqlite database:
python3 manage.py migrate
- Start the Django server:
python3 manage.py runserver
- Run the frontend projects:
lerna run dev --parallel