File size: 2,272 Bytes
1b44660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Meridian Frontend

This is the Nuxt 3 frontend application for the [Meridian project](https://github.com/iliane5/meridian) (your personal AI intelligence agency). It provides the web interface for viewing generated intelligence briefs and managing sources (admin).

Built with:

- [Nuxt 3](https://nuxt.com/) (Vue 3)
- [Tailwind CSS](https://tailwindcss.com/) (with Radix UI colors)
- [TypeScript](https://www.typescriptlang.org/)

## Key Features

- Displays daily intelligence briefs with rich formatting (`/briefs/[slug]`).
- Interactive Table of Contents for easy navigation within briefs.
- Subscription form for updates (`/`).
- Consumes the Meridian API (via Nitro server routes in `/server/api` and potentially external workers).

## Setup

Make sure you have [Node.js](https://nodejs.org/) (v22+ recommended) and [pnpm](https://pnpm.io/) installed.

From the _root_ of the Meridian monorepo:

```bash
# Install all workspace dependencies
pnpm install
```

Or, if you're only working within this app (less common in a monorepo):

```bash
cd apps/frontend
pnpm install
```

You'll also need to ensure the necessary environment variables are configured (likely in a `.env` file in the root or this directory, depending on your setup) – particularly for the database connection (`DATABASE_URL`) and any external API endpoints (`WORKER_API`). See the [main project README](https://github.com/iliane5/meridian#setup) for full setup details.

## Development Server

Start the Nuxt development server (usually on `http://localhost:3000`):

```bash
# From the root directory
pnpm --filter @meridian/frontend dev

# Or from the apps/frontend directory
pnpm dev
```

## Production Build

Build the application for production:

```bash
# From the root directory
pnpm --filter @meridian/frontend build

# Or from the apps/frontend directory
pnpm build
```

Locally preview the production build:

```bash
# From the root directory
pnpm --filter @meridian/frontend preview

# Or from the apps/frontend directory
pnpm preview
```

## Deployment

This application is typically deployed using [Cloudflare Pages](https://pages.cloudflare.com/).

Check out the [Nuxt deployment documentation](https://nuxt.com/docs/getting-started/deployment) for general deployment information.