PC.

Hello, I'm

Patrick Cunha

Senior Full Stack Engineer

Belém, Pará, Brazil

Scroll down

About Me

Patrick Cunha

Fullstack software engineer with nearly 14 years of experience specializing in scalable architecture and high-availability systems. Deep expertise in backend development with NestJS, Node.js, and Express, applying DDD, Onion Architecture, and SOLID principles. Proven track record in real-time communication systems, observability stacks, privacy-first AI integration with local LLMs, and full-stack delivery across healthtech, fintech, and SaaS domains.

14+
Years of Experience
5
Companies Worldwide

Languages

PortugueseNative / BilingualEnglishAdvanced (C1)SpanishBasic (A1)
Belém, Pará, Brazil

Skills & Technologies

A broad stack built through 14 years of hands-on enterprise and product development

Backend

Node.js
NestJS
Express
Mongoose
WebSocket
Serverless

Architecture

DDD
Microservices
SOLID
Onion Arch.
MVC
Monorepo

Databases

PostgreSQL
MySQL
MongoDB
Redis
SQLite
Firestore

ORM & Query Builder

Prisma
TypeORM
Knex

Cloud & DevOps

AWS
Docker
Jenkins
GitHub Actions
Vercel
Terraform

AI & Automation

Ollama
OpenAI API
DeepSeek API
Grok API
Gemini API
GitHub Copilot
Claude Code
OpenClaw
n8n

Frontend

React
Next.js
Redux

CSS Frameworks

Material UI
Tailwind CSS
Bootstrap

Mobile

React Native
Expo
PWA

Testing

Jest
Vitest
Puppeteer
Playwright
Apify
Husky

Integrations

Custom MCPs
Slack
Discord
Telegram
Notion
ClickUp

Work Experience

A decade of building scalable systems across four continents

Sr. Full Stack Engineer

Nexton (client: Trellisrx)

June 2022 – Present
United States
  • Designed WebSocket service with NestJS + Socket.io — 94% reliability improvement
  • Built observability stack (Grafana + Promtail + Loki) — ~60% MTTR reduction
  • Benchmarked Llama, Mistral, Qwen, and DeepSeek via Ollama — selected best model per use case against available hardware
  • Optimized MySQL/MongoDB query patterns — ~40% response time reduction
  • Reduced CI/CD deploy time by ~50% via Jenkins JCasC optimizations
Node.jsNestJSSocket.ioReactTypeScriptMySQLMongoDBRedisDockerJenkinsGrafanaOllamaAWSAWS LambdaJestKnexCustom MCPsJira

Lead Full Stack Engineer & Product Engineer

EsimFacil

Apr 2025 – Sep 2025Part-time
Brazil
  • Built Next.js landing page — 47% lift in lead conversion, Core Web Vitals 97%
  • Implemented transparent checkout flow with Pagar.me via serverless functions
  • Built AI after-hours chatbot with n8n, Redis, and vector knowledge base
  • Led two junior developers; automated Vercel deploys via GitHub Actions
Next.jsReactNode.jsTypeScriptn8nPostgreSQLRedisVercelGitHub ActionsPagar.me

Lead Full Stack Engineer

Alfaconsul

Apr 2023 – Nov 2024Part-time
Brazil
  • Designed entire backend from scratch with NestJS, DDD, and Onion Architecture
  • Developed high-performance SSR dashboard with Next.js and Atomic Design
  • Engineered React Native app mirroring dashboard architecture
  • Architected AWS RDS (PostgreSQL) + MongoDB data layer
Node.jsNestJSNext.jsReact NativeTypeScriptAWS RDSPostgreSQLMongoDBJenkinsGitHub Actions

Sr. Backend Engineer

Jamango

Nov 2023 – Mar 2024Part-time
United States
  • Led migration of backend from Ruby on Rails to NestJS
  • Introduced LocalStack for AWS service emulation (S3, SSM)
  • Built data layer with PostgreSQL and TypeORM
Node.jsNestJSTypeScriptLocalStackAWSPostgreSQLTypeORMRedis

Lead Full Stack Engineer

Virgo Solutions

Mar 2023 – Aug 2023Part-time
United States
  • Led development of AI-powered product management tool with OpenAI integration
  • Built multi-repo management across GitHub, GitLab, CodeCommit, and Bitbucket
  • Managed AWS cloud infrastructure: Cognito, S3, EC2, RDS, DynamoDB, Lambda
ReactNode.jsExpressTypeScriptOpenAI APIAWSPostgreSQLTypeORM

Sr. Software Engineer — Backend

Maitha Tech

Aug 2021 – May 2022
São Paulo, Brazil
  • Designed modular white-label e-commerce API with NestJS for multi-tenant scalability
  • Implemented event streaming with Kafka and MongoDB for high-throughput resilience
Node.jsNestJSDockerKafkaMongoDBJest

Sr. Software Engineer — Full Stack

Appgami

Jun 2021 – Jan 2022
United Kingdom
  • Developed monday.com and Azure DevOps integration features
  • Built serverless functions with Firebase Cloud Functions
FirebaseNode.jsTypeScriptAlgoliaReactReact Testing Library

Mid Backend Engineer

Zenklub

Aug 2020 – May 2021
Portugal
  • Migrated microservices from legacy architecture to Serverless/Node.js on AWS Lambda
  • Introduced NestJS to modernize service architecture
ServerlessNode.jsPostgreSQLAWS LambdaRabbitMQNestJS

Mid Frontend Developer

Conaz

Mar 2019 – Mar 2020
Florianópolis, Brazil
  • Enhanced React-based platform UIs and resolved cross-browser compatibility issues
  • Implemented microservices via Firebase Cloud Functions
ReactReduxFirebaseNode.jsEnzyme

Junior Backend Engineer

BitX

May 2018 – Mar 2019
Belém, Brazil
  • Developed and maintained RESTful APIs with Node.js, Express, and MongoDB
  • Built payment gateway integrations using Electron and C#
Node.jsExpressMongoDBElectronC#GCP

Junior Full Stack Engineer

Kronos – Tecnologia & Informação

Feb 2016 – Jun 2018
Belém, Brazil
  • Designed and implemented enterprise web management systems
  • Managed and maintained Linux servers
PHPCakePHPMySQLLinux

Desktop Developer Intern

Banco do Brasil

Aug 2014 – Aug 2016
Belém, Brazil
  • Automated internal workflows with VBA macros, reducing manual processing time
  • Enhanced internal systems with PHP integrations
VBAPHPMySQLLinux

Projects

All work is under corporate NDA/IP agreements — case studies highlight impact and approach

Real-Time WebSocket Communication System

Context

Healthcare SaaS platform serving hundreds of concurrent clinical users

Challenge

Critical race conditions causing synchronization failures across multi-client sessions, leading to data inconsistencies

Solution

Designed WebSocket service from scratch using NestJS + Socket.io with proper concurrency control and event-driven architecture

94% improvement in WebSocket reliability; eliminated synchronization failures in production

NestJSSocket.ioTypeScriptRedis

Privacy-First Local LLM Infrastructure

Context

Healthcare platform needing AI-powered features without exposing proprietary or patient data to third parties

Challenge

External AI APIs posed compliance and IP risks for sensitive medical data

Solution

Deployed on-premise LLM stack with Ollama, benchmarking Llama, Mistral, Qwen, and DeepSeek models against available hardware to find the best performance/resource trade-off for each use case

AI-powered code generation, data analysis, and diagnostic assistance — with zero external data exposure

OllamaDocker

Observability & Log Monitoring Stack

Context

High-traffic production system with slow incident response and no centralized logging pipeline

Challenge

High mean time to resolution (MTTR) due to fragmented, unstructured server logs across multiple services

Solution

Implemented Grafana + Promtail + Loki pipeline for real-time log ingestion, alerting, and analysis

~60% reduction in MTTR; production incidents diagnosed in seconds instead of hours

GrafanaLokiPromtailDocker

High-Conversion SaaS Landing Page

Context

Early-stage eSIM startup without an online presence or lead capture mechanism

Challenge

Zero web presence, poor Core Web Vitals, and low lead conversion rate

Solution

Built Next.js landing page with heatmap-driven UX (Microsoft Clarity), on-page SEO, and CTA optimization

47% lift in lead conversion; Core Web Vitals performance score reached 97%

Next.jsTypeScriptVercelSEO

AI-Powered Multi-Repository Manager

Context

SaaS product for engineering teams managing issues across multiple VCS platforms simultaneously

Challenge

Manual overhead triaging and tracking issues across GitHub, GitLab, and Bitbucket caused delays

Solution

Full-stack app with OpenAI integration for automated issue triage and PR suggestions across all platforms

MVP delivered and validated; significantly reduced manual repository management overhead for teams

ReactNode.jsOpenAI APIAWSPostgreSQL

White-Label Multi-Tenant E-Commerce API

Context

Platform serving multiple retail brands on a single shared backend infrastructure

Challenge

Architecture needed complete tenant isolation while efficiently sharing compute resources

Solution

Modular NestJS API with Kafka event streaming and MongoDB, designed for independent brand configurations

Scalable multi-tenant system enabling rapid onboarding of new retail brands

NestJSKafkaMongoDBDocker

Articles

Technical articles on software development

Education

Bachelor's Degree in Computer Science

Federal University of Pará (UFPA)

2011 – 2016Belém, Pará, Brazil

Languages

Portuguese
Native / Bilingual
English
Advanced (C1)
Spanish
Basic (A1)

Get in Touch

Open to senior engineering roles and interesting technical challenges

Based in Belém, Brazil — available for remote positions worldwide. Feel free to reach out for engineering roles, consulting, or technical discussions.

Location
Belém, Pará, Brazil