AeThex core monolith — proprietary
- TypeScript 100%
| apps | ||
| packages | ||
| .env.example | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| turbo.json | ||
AeThex Dev Monolith
Internal development platform. Proprietary — All Rights Reserved.
Copyright (c) 2025 The AeThex Corporation. All rights reserved. This code is proprietary and confidential. Unauthorized copying, transfer, or reproduction of this content is strictly prohibited.
Overview
The AeThex Dev Monolith is a Turborepo-based internal platform that bundles AeThex's core developer tooling into a single deployable service: project management, internal APIs, service health monitoring, and developer dashboards.
Stack
| Layer | Technology |
|---|---|
| Monorepo | Turborepo |
| API | Express, TypeScript, Drizzle ORM, Zod |
| Dashboard | React 18, Vite, TailwindCSS |
| Database | PostgreSQL (Drizzle ORM) |
| Logging | pino |
| Config | Zod-validated environment config |
Project Structure
aethex-dev-monolith/
├── apps/
│ ├── api/ # Core internal Express API (port 4000)
│ └── dashboard/ # Internal React dashboard (port 5174)
├── packages/
│ ├── config/ # Shared env config (Zod-validated)
│ ├── types/ # Shared TypeScript types
│ └── logger/ # Shared structured logger (pino)
├── turbo.json
└── package.json
Modules
| Module | Description |
|---|---|
/health |
Service health check: uptime, version, dependency status |
/internal/projects |
AeThex project registry — CRUD for all internal projects |
/internal/services |
Service registry — all AeThex services, status, deploy URLs |
/internal/metrics |
Aggregated metrics across services |
Running Locally
Prerequisites
- Node.js 20+
- npm 10+
- PostgreSQL database
Setup
# 1. Install dependencies
npm install
# 2. Copy and configure environment
cp .env.example .env
# 3. Start all apps in dev mode
npm run dev
Available Scripts
| Script | Description |
|---|---|
npm run dev |
Start all apps in development mode (via Turborepo) |
npm run build |
Build all apps and packages |
npm run lint |
Lint all workspaces |
Environment Setup
See .env.example for required variables. Each app reads from the root .env file.
| Variable | Description |
|---|---|
DATABASE_URL |
PostgreSQL connection string |
INTERNAL_API_KEY |
Shared API key for internal service-to-service calls |
FORGE_TOKEN |
AeThex Forge authentication token |
PORT |
API server port (default: 4000) |