Aurea Docs

Getting Started

Clone the Aurea monorepo, install dependencies, and run all apps locally in under five minutes.

Prerequisites

ToolMinimum versionNotes
Bun1.2Primary package manager and runtime
Node.js22Required by some tooling (e.g. Payload CMS)
PostgreSQL16Only needed for apps/web (Payload) and apps/api
Gitany

1. Clone

git clone https://github.com/gjsoaresc/aurea.git
cd aurea

2. Install dependencies

Bun workspaces install all apps and packages in one shot from the repo root:

bun install

This also runs each app's postinstall hooks (e.g. fumadocs-mdx for the docs site).

3. Configure environment variables

Each app ships an .env.example. Copy and fill in the secrets:

cp apps/web/.env.example apps/web/.env.local
cp apps/api/.env.example apps/api/.env

apps/web and apps/api will not start without a valid DATABASE_URL. For local development, a plain PostgreSQL 16 instance on the default port is sufficient.

4. Run all apps

bun run dev

Turborepo starts every app in parallel with its persistent dev server.

Dev ports

AppURLDescription
apps/webhttp://localhost:3000Next.js + Payload CMS public site
apps/dashboardhttp://localhost:3001Vite SPA — client dashboard
apps/docshttp://localhost:3002This Fumadocs site
apps/apihttp://localhost:4000NestJS GraphQL + MCP API
GraphQL Playgroundhttp://localhost:4000/graphqlApollo Sandbox

5. Run a single app

# from repo root
bun turbo run dev --filter=docs
bun turbo run dev --filter=@aurea/api

Or cd into the app directory and run its scripts directly:

cd apps/docs
bun run dev

Type-checking

# check every app/package
bun run check-types

# check just the docs site
bun turbo run check-types --filter=docs

Linting

bun run lint          # all workspaces
bun run format        # Prettier write pass
bun run format:check  # CI-safe dry run

On this page