Lucas Palharini

Português
Portrait of Lucas Palharini

Backend software engineer, with fullstack reach.

I work with Kotlin, Java, Spring Boot, Apache Kafka and REST APIs. Also with PHP, Ruby on Rails, Node.js and TypeScript, and with React on the frontend.

I have been programming since 2008. I started as a teenager, with PHP on fansub sites and Lua in games. Professional experience since 2019, between independent contracting and regular employment.

São Paulo, SP, Brazil. Remote work.

My own projects

They are the only ones I can show code from.

  • bora-tentar

    Goals app with an internal economy. Fullstack: frontend in React with Next.js 16 and TypeScript, backend in NestJS 11 with Prisma and PostgreSQL (Supabase). 95 test files and CI with CodeRabbit.

  • This portfolio

    Monorepo with Turborepo: Next.js 15, React 19 and Tailwind 4 on the site, NestJS with Drizzle and PostgreSQL on the API. Two faces: this page, static and built to be found, and an interactive room put together by a scene engine of my own.

  • compare-json

    Desktop app in Electron, React and TypeScript that compares JSON by structure: it separates differences of order, of value and of structure, and formats JSON, JS, TS, PHP, Java, Kotlin and Ruby by itself.

  • Chrome extension

    Manifest V3, in React and TypeScript: service worker, content scripts and popup, with tests in Vitest over HTML fixtures.

Other projects on GitHub

Resume

Software Engineer at MaxMilhas

Marketplace for airline tickets and miles. I worked on the finance team, remotely. In several periods I was the only developer on the finance team, answering for incidents with an impact on revenue.

  • Service invoices: from one week to one hour

    I built from scratch, in Kotlin (Spring Boot 3, Spring Batch 5), the job that issues, retries and replaces service invoices. It replaced a semi-manual flow that went through five systems. In the last batch correction, the work went from about 5 thousand invoices in one week of manual work to 12 thousand invoices in one hour of execution, with no human intervention and with an audit trail in the database.

  • Miles reconciliation with Kafka

    I designed and built, as a pair, the service that reconciles miles with airlines, in Kotlin and Spring Boot 3, with hexagonal architecture and Apache Kafka with cascading retry topics, and integrated the PHP monolith with it. The checking of statements, 100% manual before, became automated.

  • Cancellation within 24h across four systems

    I implemented automatic cancellation with partial refund across four systems (PHP 5.6, Symfony 6.2, Node.js with MongoDB): eligibility, idempotent orchestration with a kill switch, confirmation by postback and reconciliation with three gateways. I led the review across repositories, with more than 40 findings classified by severity.

  • NFS-e API

    I restructured the Java 21 (Spring Boot 3) API into modules and built API V2: issuing, querying, cancelling and replacing service invoices in the national standard, with digital signature (A1 certificate) and automatic recovery from duplicates. Deployed with Helm on Kubernetes.

  • CI, deploy and observability

    I set up continuous integration on GitLab (lint and tests in parallel, distroless image via Jib), with deploy and scheduling on Spring Cloud Data Flow and alerts by structured field in Graylog.

  • Card service

    In Kotlin with CQRS, I implemented automatic retry and the smart queue of providers.

Back End Developer at GESUAS

Management software for social assistance. Remote.

REST APIs in PHP (Symfony, Doctrine) in the modular monolith with hexagonal architecture, events and listeners, feature toggles and automated tests in Docker. Frontend contributions with Twig and jQuery.

Node Developer Analyst at MaxMilhas

APIs in Node.js, TypeScript and PHP with MongoDB and MySQL, including serverless applications. Automated API tests and fixes for critical bugs. I took over the transactional emails (EJS, HTML, CSS) integrated with the APIs and became the team's reference on the subject. Mentoring of interns and technical documentation.

Independent Projects (contractor)

Intermittent, on-demand work as an independent contractor since 2019, for clients of different sizes: from websites and web systems to an omnichannel messaging platform (SMS, RCS and WhatsApp) in Ruby on Rails, PostgreSQL, Redis, Sidekiq and Kafka on AWS.

  • New message router

    It replaces a legacy triage in PHP 5 with no tests. A pure Ruby gem, with no I/O, running inside the Sidekiq process (target of p99 below 1 ms per decision). Kill switch with three states (off, shadow, live) per type and environment. Dashboard in Rails 8 with Hotwire and state in Redis. Terraform, CI with static security analysis and metrics in Prometheus and Grafana.

  • WhatsApp Business driver

    Full integration with a partner API in Rails: authentication, token provisioning per connection, templates with media, buttons and variables, the 24h window and media on S3. Webhook for clicks from the link tracker and fallback from RCS to SMS with no database query.

  • Building processes

    Where there were none: review rules with confidence marks, controlled publishing of reviews on GitHub with a check against secret leaks, runbooks for shadow rollout and for deploy, a dashboard in Grafana.

  • Websites and web systems on demand

    For small businesses: building, custom scripts and integrations, maintenance and evolution.

Skills

Programming languages
Kotlin, Java, PHP, Ruby, JavaScript, TypeScript, SQL
Backend
Spring Boot, Spring MVC, Spring Batch, Spring Kafka, Spring Data JPA, Ruby on Rails, Sidekiq, Node.js (NestJS, Express), Symfony, REST APIs with OpenAPI, hexagonal architecture, microservices, CQRS
Messaging and data
Apache Kafka, MySQL, PostgreSQL, MongoDB, Redis, Prisma
Infra, security and observability
Docker, Kubernetes and Helm, Terraform, AWS (S3, SNS, ECS), GitLab CI, GitHub Actions, Spring Cloud Data Flow, Datadog, Prometheus and Grafana, Graylog, JWT, feature toggles
Frontend
React, Next.js, Hotwire/Turbo, Tailwind, HTML, CSS, EJS, ERB
Practices
Automated tests (JUnit, MockK, RSpec, Jest, Vitest), Clean Code, technical documentation, code review, mentoring, Scrum and Kanban

Education

  • Systems Analysis and Development, UniRios (distance learning), in progress
  • Software Engineering and Web Development Bootcamp, Driven Education
  • Electrical Engineering (up to the 4th year), Escola Politécnica da USP

Languages

Portuguese (native). Intermediate English, fluent technical reading.

Security

Finding the flaw, responding to the incident and making the process harder to break.

  • Access control flaw in an integration

    I detected and located an access control flaw in the integration between the application and a third-party platform.

  • Incident response in production

    Across four systems: observe, contain with a feature toggle, harden authentication in shadow mode before enforcing it, audit. No downtime for customers.

  • Security inside the process

    Static security analysis in CI, a check against secret leaks before publishing a review on GitHub, and my own hooks for security review and for guarding critical files.

  • Critical change with a safety net

    Kill switch with three states (off, shadow, live), runbooks for shadow rollout and quarantine by feature toggle.

AI as a tool

Code assistant, review and automation, with process around it.

  • Spec, plan and implementation

    A flow of spec, plan and implementation, with cross-review by more than one model.

  • My own skills, agents and hooks

    In Claude Code: security review, SQL analysis and guarding of critical files. MCP with Jira and DevTools.

  • Assisted review

    CodeRabbit in CI and review rules with confidence marks: what was verified and what is deduction. At MaxMilhas, I took part in implementing the company's LLM-based merge request reviewer, with pairing and tests.

  • What I do not delegate

    Architecture and scope decisions, and the commit: I review file by file before anything goes in.

Behind this page there is a room.

It is the story of how I started programming, for anyone with time to look.

Open the door