Getting Started
Explainer v2 is a monorepo documentation boilerplate built with Astro, React, Tailwind CSS 4, and pnpm. It ships three independent apps — docs, blog, and website — sharing a common UI and MDX component library.
Installation
Clone the repository
git clone https://github.com/LeadcodeDev/explainer-v2.git
cd explainer-v2 Install dependencies
pnpm install Configure environment variables
Copy the example environment file and adjust values if needed:
cp .env .env.localPUBLIC_WEBSITE_URL=http://localhost:4323
PUBLIC_DOCS_URL=http://localhost:4321
PUBLIC_BLOG_URL=http://localhost:4322Start the development server
pnpm devThis starts all three apps simultaneously using Turborepo.
Dev servers
| App | Port | URL | Package |
|---|---|---|---|
| Docs | 4321 | http://localhost:4321 | @explainer/docs |
| Blog | 4322 | http://localhost:4322 | @explainer/blog |
| Website | 4323 | http://localhost:4323 | @explainer/website |
You can also start a single app:
pnpm dev --filter @explainer/docs