Back
Case Study Dossier2024 - Present

Arelix Labs: Full-Stack AI Agency & Engineering Hub

Enterprise full-stack architecture with Prisma ORM, Neon PostgreSQL, and Groq LLM pipelines

Role
Founding Engineer & CTO
Team & Context
Arelix Labs Core Engineering
Key Impact
Sub-20ms Inference Routing Latency
Live

1. The Problem

A fast-paced AI software agency required a centralized platform to handle client onboarding, project estimation, role-based dashboards, and automated AI scope generation, replacing scattered third-party tools with an integrated system.

2. Hard Engineering Constraints

  • Strict role-based access control (Admin, Client, Engineer) with secure session handling.
  • Serverless PostgreSQL connection pooling to survive sudden traffic spikes.
  • Automated conversion of unstructured client requirements into structured deliverables.

3. System Architecture Topology

[Client / Admin] ──> [Next.js 15 App Router (Edge / Node)]
                                    │
                         [NextAuth Session Gateway]
                                    │
                   ┌────────────────┴────────────────┐
                   ▼                                 ▼
         [Prisma ORM Client]                 [Groq AI SDK Cascade]
                   │                                 │
         [Neon Serverless DB]               [Structured Scope Gen]

4. My Key Architectural Contributions

Relational Schema Architecture with Prisma & Neon

Designed comprehensive relational data models with indexed foreign keys, automated schema migrations, and connection pooling to prevent pool exhaustion in serverless environments.

Groq LLM Scope Generation Pipeline

Integrated Groq AI SDK with JSON schema enforcement to parse natural language project descriptions and output precise engineering task breakdowns and timeline estimations.

Secure NextAuth & Role-Based Access Control

Implemented JWT-based authentication with secure cookie storage, CSRF validation, and route-level authorization guards preventing privilege escalation.

5. Measured Engineering Outcomes

Subms

Groq Llama-3 inference routing response time

%

Type-safety across client, API routes, and database layers

0 Leaks

Flawless serverless connection pooling via Neon proxy

6. Retrospective & Senior Engineering Review

What Worked Well

Prisma's strict type safety combined with Next.js Server Actions drastically cut down boilerplate and eliminated data-fetching race conditions.

What I'd Improve in v2

I plan to add real-time WebSocket notifications for live client proposal approvals.

Technology Stack & Tooling

Next.js App RouterTypeScriptPrisma ORMPostgreSQL (Neon)Groq AI SDKNextAuth
Related Work

Explore Related Case Studies

Explore real engineering results across cloud backends, AI agents, and computer vision systems.

Tensor Security Academy — Platform & Automation preview

Tensor Security Academy — Platform & Automation

“Automated booking dispatch via n8n and hardened Next.js ISR architectures delivering 99.9% uptime with zero manual database intervention.”
Next.js App RouterTypeScriptn8n AutomationPostgreSQLDockerVercel
Saobia Islam TinniLead Software Engineer (Independent Maintainer)
Dossier
Live

%

Platform Uptime

Enterprise SLA across global students

0 hrs

Manual Operations

Full n8n webhook booking automation

A+

Security Headers Rating

Mozilla Observatory & SSL Labs

SSRN Transfer — US Fleet & Booking Platform preview

SSRN Transfer — US Fleet & Booking Platform

“Engineered high-throughput responsive vehicle reservation templates with zero-lag debounced fleet filtering and mobile-first booking workflows.”
JavaScriptHTML5CSS3Jinja2PythonResponsive Systems
Saobia Islam TinniFrontend Developer (Project-Based)
Dossier

ms

Query Response

Debounced fleet availability filtering

FPS

Render Performance

CLS < 0.001 mobile zero-lag interaction

%

Cross-Device Reliability

Tested across iOS Safari & Android

AUST Robotics Club & ARC Event Platform preview

AUST Robotics Club & ARC Event Platform

“Engineered a schema-driven monorepo platform powering nationwide robotics tournaments with atomic Firestore scoring and ImageKit CDN.”
ReactTypeScriptMonorepoFirebase FirestoreImageKit CDN
Saobia Islam TinniDirector of Web & App Development Team
Dossier
Live

%

Code Reusability

Zero-code re-theming per edition

National Championships

Powering ARC 2.0, Robomania & Club

ms

Asset Delivery

ImageKit edge cache verification cards

Tensora — Agentic AI Platform & Chatbot preview

Tensora — Agentic AI Platform & Chatbot

“Multi-model reasoning agent system with token streaming over HTTP/2 SSE and dynamic cost guardrails cutting inference spend by 42%.”
Next.jsTypeScriptGroq AI SDKLangGraphFastAPIPinecone
Saobia Islam TinniLead Software Engineer & System Architect
Dossier
Live

ms

First-Token Latency

Streaming SSE transformer pipeline

%

Cost Optimization

Frontier-to-lightweight model routing

%

Tool Call Precision

Deterministic DB + vector search

SmartAir Mouse Pro — Computer Vision Engine preview

SmartAir Mouse Pro — Computer Vision Engine

“Touchless AR human-computer interface transforming webcam video into low-latency OS mouse events with custom 2D Kalman filter jitter suppression.”
PythonOpenCVMediaPipeKalman FilterGradio
Saobia Islam TinniComputer Vision & AI Engineer
Dossier

FPS

Zero-Lag Tracking

Real-time 21-point hand skeleton mesh

2D Kalman

Tremor Suppression

Surgical cursor accuracy without latency

%

Zero-Install Sandbox

Instant browser calibration via Gradio