Appearance
Atlas — Property Intelligence Platform
CE-Atlas is the property data and lead management platform. It provides property search across 12 data datasets, lead skip-tracing, divorce lead intelligence, and a credit-based billing system.
It is a separate monorepo from Cora (ce-atlas) that shares some infrastructure patterns (MongoDB, BullMQ, Chargebee, Better-Auth) but is independently deployed.
Services
| Service | Port | Purpose |
|---|---|---|
web | 3015 | Next.js 16 frontend + API routes (/api/rpc/*) |
worker | 3001 | Express + BullMQ background job processor |
The API layer (packages/api) is a set of oRPC router modules that mount inside the Next.js app at /api/rpc/*. There is no separate API server.
Architecture Diagram
Tech Stack
| Category | Technology |
|---|---|
| Package manager | Bun 1.3+ |
| Frontend | Next.js 16, React 19, Tailwind CSS 4 |
| API | oRPC (type-safe RPC with Zod) |
| Auth | Better-Auth 1.4 |
| Database | MongoDB via Prisma 6 |
| Job queue | BullMQ 5 + Redis (ioredis) |
| State/data fetching | TanStack Query 5 |
| Payments | Chargebee |
| Property data | BatchData (12 API keys, one per dataset) |
| Deployment | AWS via SST v3 (ECS + CDN) |
| Linting/formatting | Biome |
Monorepo Structure
ce-atlas/
├── apps/
│ ├── web/ # Next.js frontend + oRPC API routes
│ └── worker/ # BullMQ background processor (port 3001)
├── packages/
│ ├── api/ # oRPC router definitions and business logic
│ ├── auth/ # Better-Auth config, email templates
│ ├── db/ # Prisma schema, generated client, Zod types
│ ├── services/ # Chargebee + Enrichment service clients
│ └── tsconfig/ # Shared TypeScript config
└── sst.config.ts # AWS infrastructureCore Concepts
| Concept | Description |
|---|---|
| Credits | All data operations cost credits. Each user has subscription credits (reset each billing period) + purchased credits (permanent). |
| Datasets | BatchData exposes 12 property datasets (BASIC, OWNER, CONTACT, DEED, VALUATION, etc.). Each has its own API key and credit cost. |
| Lead Groups | A named list of contacts that can be uploaded via CSV and enriched (skip-traced) via the enrichment service. |
| Divorce Leads | Contacts sourced from public divorce filings, pre-enriched with property and party information. |
| Scout | A curated property discovery service with city-based permissions. |
| Saved Searches | Search results can be saved and re-queried. |