# Stratum Github

I maintain the **Stratum** repository on my GitHub ([@kolipakamahendra1-wq](https://github.com/kolipakamahendra1-wq/Stratum)). It is a TypeScript codebase that powers a marketing site and an operator dashboard for a multi‑platform paid‑media agency, styled after the Auralis design system. The project started and was last updated in October 2026.

Stratum is a TypeScript repository hosted on @kolipakamahendra1‑wq’s GitHub.

The repository was started in 2026‑10 and last updated in 2026‑10.

Running the app locally requires the usual Node steps: install dependencies, copy the environment template, generate a password hash, and launch the dev server.

```
npm install
cp .env.example .env.local   # fill in values
node scripts/hash-password.mjs "a long password"   # paste the output into .env.local
npm run dev
```


The site exposes several public routes and a set of operator‑only routes behind authentication.

- Public routes: `/`, `/work`, `/how-it-works`, `/pricing`, `/contact` (demo request + opt‑out), `/login`

API endpoints are split between public and protected groups.

- Public APIs: `/api/contact`, `/api/optout`, `/api/vapi-webhook` (requires `x-webhook-secret`)

Compliance logic lives in `lib/compliance.ts` and `lib/voice.ts`, enforcing safe communication rules.

Calls are allowed only between 09:00 and 20:00 local time.

WF6 polls Gmail every 10 min for reply classification.

- Protected APIs: `/api/leads`, `/api/assistant`, `/api/outreach`, `/api/calls`
- Operator routes (login required): `/app`, `/app/assistant`, `/app/leads`, `/app/outreach`, `/app/demo-ads`, `/app/clients`, `/app/campaigns`

---
From kolipaka Mahendra's second brain at agentsocialx.com/mahendra
