Backend Frameworks & Languages¶
This page covers the server-side frameworks, runtimes, and ORMs used across the portfolio. For HTTP-adjacent concerns (queue runtimes, real-time, caches), see Caching-Queues-Realtime.md.
Portfolio map¶
| Language | App count | Apps | Typical framework |
|---|---|---|---|
| TypeScript / JavaScript on Node | 19 | Toolbelt Handyman, SuperCabs, BidIt, Workflow Hub, Sourcing AI, GoGreen Verify, GameTrakker, Do Me A Ditty, Go Green Transit (API, plain JavaScript), GoGreen Seller AI, AI Concierge, Sell Me A Pen, APEX Sales Training, Recruiting AI, PoligoPro, HouseKey (JavaScript), GGPI website, Tutor AI, Jarvis (Electron main process, plain JavaScript) | Express, Next.js API routes, Fastify, NestJS |
| TypeScript on Bun | 1 | OpenSentinel | Hono |
| Python | 3 | DOC-AI, AutoDiag AI, SmartForms | FastAPI |
| PHP | 3 | VotigoPro (Laravel platform + WordPress plugin), Maximus Pet Store, Pecos River Traders (each three Laravel 12 apps) | Laravel, WordPress |
| Go | 1 | Marketing AI (core API and workers) | chi |
| Rust | 6 desktop shells | Marketing AI, GoGreen Verify, Go Green Transit, AutoDiag AI, Recruiting AI, Jarvis (Tauri 2) | Tauri commands (the Go Green Transit and Jarvis crates also include Axum) |
Marketing AI also has a Node/TypeScript AI orchestrator (Express) next to its Go services; it is counted once, under Go. Jarvis is one product with two codebases (an Electron app in JavaScript and a Tauri/Rust rewrite), so it appears in both the Node row and the Rust row.
Express (Node)¶
What it is. The Sinatra-style minimal Node web framework. Routes, middleware, request/response. No batteries, you assemble the stack (auth, validation, ORM) yourself.
Why we use it. Familiar, low-magic, every dev knows it. Fast enough for the portfolio's load profiles.
Used in:
- Toolbelt Handyman — Express 4.19, server-rendered EJS admin.
- GGPI website — Express 4.19 + Prisma, 58 models.
- Sell Me A Pen — Express 4.19 + a separate admin server.
- APEX Sales Training — Express 4.18, base path /ApexSales.
- Recruiting AI — Express 4.19, separate admin server, Swagger.
- Tutor AI — Express ^4.19 + TypeScript + EJS; two servers (server.ts and adminServer.ts), ws tutor sessions and a Streamable-HTTP MCP router.
- GoGreen Verify — Express 5.1.
- Go Green Transit — Express 4.21 in plain JavaScript on better-sqlite3.
- GoGreen Seller AI — Express 4.21 embedded in the Electron main process.
- HouseKey — Express 4.17 in JavaScript (Babel/webpack build) with Sequelize.
Tradeoffs. No structure imposed. Larger Express apps drift into custom DI, custom middlewares, ad-hoc validation — and at that point, NestJS or Fastify would have been cleaner.
Next.js (App Router)¶
What it is. React framework with server components, file-based routing, API routes, edge/serverless deployment, image/font optimization. Versions seen: 14, 15, 16.
Why we use it. Full-stack in one repo. Marketing pages + dashboard + API routes + RSC streaming all unified. Tight integration with Vercel, but the portfolio's Next.js apps are self-hosted on the IONOS VPS instead.
Used in: - Full-stack (API routes are the backend): SuperCabs (15, plus a NestJS realtime gateway), Sourcing AI (15), GameTrakker (15, Prisma 6), Do Me A Ditty (15.5, Prisma 6.19), PoligoPro (14, Pages Router rather than App Router). - Frontend / dashboard talking to a separate API: Workflow Hub (15), DOC-AI (16.3), AutoDiag AI web (16.1), AI Concierge dashboard (15.2), SmartForms (14), BidIt web (15), HouseKey admin (14.2).
Tradeoffs. Build-time complexity, the App-Router caching model takes work to get right, and the framework changes shape every major version.
Fastify (Node)¶
What it is. Schema-first Node framework. Faster than Express, JSON-Schema-native validation, plugin system. The pragmatic step up from Express when performance matters.
Used in:
- Workflow Hub — Fastify 5.2 API (apps/api) with a separate BullMQ engine app; Drizzle ORM.
- AI Concierge — Fastify 5.1 API in a pnpm monorepo, Swagger via @fastify/swagger; Drizzle ORM.
Why over Express: type-safe request/response via schemas, built-in logger (Pino), faster JSON parser.
NestJS (Node)¶
What it is. Opinionated, Angular-flavored framework over Express/Fastify. Decorators, modules, DI container, pipes, guards. Good for large apps with multiple teams; heavy for small ones.
Used in:
- BidIt — NestJS 10.4 API (apps/api, 58 Prisma models) with a separate BullMQ worker app and Socket.IO gateway.
- SuperCabs — NestJS 10.4 realtime gateway (apps/realtime, Socket.IO) in its own container.
Why NestJS there. Multi-module marketplace and realtime services — DI keeps the moving parts manageable, and the built-in WebSocket gateway integrates with Socket.IO.
Hono (Node / Bun / Deno / Cloudflare Workers)¶
What it is. Modern web framework with a tiny core that runs anywhere — Node, Bun, Deno, Cloudflare Workers, AWS Lambda. Fluent routing API, edge-first.
Used in: OpenSentinel (Hono 4.7 on the Bun runtime, Drizzle ORM, tsup build).
Why over Express: runs on Bun (no Node), much faster, single binary deployment via Bun's bundler.
Go (chi)¶
What it is. Compiled, statically typed language with a strong standard library. chi is a small router on top of net/http.
Used in: Marketing AI — Go 1.24 core-api (chi v5.1, pgx v5.6, go-redis v9.6, golang-jwt v5.2) plus ~10 Go workers/services (SEO crawler, rank tracking, social publisher, FFmpeg video render, backlink crawler, keyword cluster, scheduler, alert router).
Why Go here. Crawlers, schedulers and render workers want cheap concurrency and small static binaries.
FastAPI (Python)¶
What it is. Modern async Python framework — Pydantic for schemas, automatic OpenAPI docs, Starlette-based async I/O.
Used in: - DOC-AI — FastAPI 0.136, SQLAlchemy 2.1 async + asyncpg, arq workers, Qdrant + LangChain answer engines. - AutoDiag AI — FastAPI 0.115, SQLAlchemy async + asyncpg + Alembic; Neo4j, Redis, optional InfluxDB. - SmartForms — FastAPI, SQLAlchemy 2.0 async + Alembic, Celery workers for processing and webhooks.
Why Python here. ML/AI ecosystem (LangChain, PyMuPDF, OpenCV, PaddleOCR, PyTorch). When the heavy lifting is image/PDF/ML, Python wins.
Flask (Python) (not used in portfolio)¶
What it is. The minimal Python web framework. Older than FastAPI, sync by default, easy to learn.
Not used in the portfolio — covered for comparison. SmartForms, which older notes sometimes listed as Flask, is FastAPI.
Tradeoffs. Flask is fine for forms-and-dashboards. For modern AI pipelines, FastAPI's async + Pydantic combo is generally preferred.
Laravel (PHP)¶
What it is. Full-stack PHP framework. Eloquent ORM, Artisan CLI, Sanctum (token auth), Spatie/Laravel-Permission (RBAC), Blade templating, queue workers.
Used in:
- VotigoPro — Laravel 11 on PHP 8.3 with Sanctum 4, spatie/laravel-permission, Dompdf, maatwebsite/excel, a queue-worker container, and Blade + Vite + Tailwind front end.
- Maximus Pet Store — Laravel ^12 on PHP 8.2 as three apps (Storefront, Admin site, REST API with Sanctum ^4 and l5-swagger) sharing one MySQL 8.0 schema; Blade + Bootstrap, Socialite Google/Microsoft login.
- Pecos River Traders — same three-app Laravel 12 pattern (storefront, admin site, REST API).
Why Laravel here. A voting platform with plans, roles, and queues is a faster path on Eloquent + Blade + Sanctum than rolling Express. Strong RBAC ecosystem.
WordPress (PHP)¶
What it is. The CMS itself + a plugin framework. Custom plugins extend it via the REST API (WP_REST_Controller), wp-cron, custom DB tables.
Used in: VotigoPro WP Plugin — shortcodes + a WP REST proxy that embeds voting on any WordPress site (WP 6.4+, PHP 8.1+); no local DB tables, it is a client of the VotigoPro API.
Tradeoffs. WordPress core constrains you (particular plugin lifecycle, OOP-but-with-action-hooks). The right choice when the customer is already on WordPress.
Axum (Rust)¶
What it is. Tokio-based async Rust web framework. Type-safe, low overhead, popular in the Rust ecosystem.
Used in:
- Go Green Transit — the Tauri desktop crate lists axum alongside tokio, russh, suppaftp and the cloud SDKs, and ships ftproxy-bridge, ftproxy-mcp and ftproxy-cli binaries.
- Jarvis (Tauri) — axum 0.8 serves the app's built-in MCP server (mcp_server.rs) from the Rust process.
Why Rust: the app is a Tauri desktop binary; the HTTP and bridge pieces run in the same Rust process as the desktop UI.
ORMs¶
| ORM | Language | Apps | Notes |
|---|---|---|---|
| Prisma | TS | 14 — Toolbelt Handyman (5.19), SuperCabs (5.20), BidIt (5.22), Sourcing AI (6.3), GoGreen Verify (5.22), GameTrakker (6.3), Do Me A Ditty (6.19), GoGreen Seller AI (6.4), Sell Me A Pen (5.19), APEX (5.7), Recruiting AI (5.19), PoligoPro (5), GGPI website (5.19), Tutor AI (5.19) | Default. Schema-first, generated client, built-in migrations. |
| Drizzle | TS | 3 — Workflow Hub, AI Concierge, OpenSentinel | Lightweight query builder, more control. |
| SQLAlchemy | Python | 3 — DOC-AI, AutoDiag AI, SmartForms | Async via asyncpg. |
| Eloquent | PHP | 3 — VotigoPro, Maximus Pet Store, Pecos River Traders | Laravel built-in. |
| Sequelize | JS | 1 — HouseKey (5.21 + mysql2) | Older ORM; the only Sequelize app. |
| pgx / raw SQL | Go | 1 — Marketing AI | No ORM; pgx v5 with SQL migrations. |
| better-sqlite3 | JS | 1 — Go Green Transit API | Synchronous SQLite driver, no ORM. |
| sqlx | Rust | 1 — Jarvis (Tauri) | sqlx 0.8 over Postgres with the pgvector crate; hand-written SQL, no ORM. |
| Mongoose / TypeORM | TS | 0 | Not used. |
Prisma vs. Drizzle. Prisma is the friendlier default — generated types, query API, migrations, Studio GUI. Drizzle wins when you need exact SQL, no generated client, or run in environments where Prisma's binary is a problem (Bun, edge). OpenSentinel runs on Bun with Drizzle.
Migrations.
- Prisma Migrate / db push — the Prisma apps (GameTrakker, GGPI and Tutor AI push the schema directly).
- Alembic — DOC-AI, AutoDiag AI, SmartForms.
- Laravel Migrations — VotigoPro, Maximus Pet Store, Pecos River Traders.
- Drizzle Kit — Workflow Hub (82 migrations), AI Concierge, OpenSentinel.
- Plain SQL migrations — Marketing AI (39), HouseKey (npm run migrate), Jarvis (Tauri) (10 SQL files in src-tauri/migrations).
Schema / DTO validation¶
| Library | Language | Apps |
|---|---|---|
| Zod | TS | 11 — Toolbelt Handyman, SuperCabs, GoGreen Verify (zod 4), Workflow Hub, AI Concierge (shared package), GoGreen Seller AI, Sell Me A Pen, Recruiting AI, HouseKey, GGPI website, Tutor AI |
| Pydantic | Python | 3 — DOC-AI, AutoDiag AI, SmartForms |
| express-validator | TS | 2 — APEX Sales Training, Tutor AI |
| Joi / Yup / class-validator | TS | Not used |
Zod's role. Runtime validation + TypeScript inference from one source of truth. Validates request bodies, environment variables, and LLM tool-call arguments.
Common architectural pieces¶
- API documentation. Swagger / OpenAPI in Recruiting AI (swagger-jsdoc +
openapi-spec.ts), HouseKey (/api-docs), GoGreen Verify (swagger-jsdoc), AI Concierge (@fastify/swagger), BidIt (openapi.yaml), and the Maximus Pet Store / Pecos River Traders APIs (l5-swagger). - Authorization layer. CASL RBAC in Workflow Hub. Spatie/Laravel-Permission in VotigoPro. Sanctum tokens on the Maximus Pet Store / Pecos River Traders APIs. Most others are JWT-claim-based or role-check middleware.
- API style. REST is dominant. tRPC in GoGreen Seller AI (tRPC 11 inside Electron). No GraphQL apps in the portfolio.
- Streaming. Server-Sent Events for LLM token streaming (HouseKey
POST /ai/chat/stream); the Vercel AI SDK in Workflow Hub. - MCP servers. Several backends also expose an MCP endpoint: AI Concierge, GGPI website, Recruiting AI, DOC-AI, OpenSentinel, Workflow Hub, Marketing AI, GoGreen Verify, HouseKey, Go Green Transit, Tutor AI, Jarvis (Tauri).
Decision guide¶
Need full-stack React with SSR? → Next.js App Router.
Need a small TS API? → Express (familiar) or Hono (modern, fast).
Schema-driven API + speed? → Fastify or Hono.
Big TS monolith with many domains? → NestJS.
Doing ML / heavy PDF / image work? → FastAPI (Python).
Crawlers, schedulers, render workers → Go (chi).
Building on top of WordPress? → WordPress plugin.
Voting / CMS-like with roles+plans? → Laravel.
Rust desktop with embedded server? → Tauri + Axum.