NextAgency, as lead engineer01
Moving a live product from Rails to Next.js and NestJS
The platform had outgrown its server-rendered Rails views. I led the move to a Next.js front end and a NestJS API while the existing product stayed live.
- Set the front-end architecture: Next.js App Router, TypeScript, server-side rendering for data-heavy pages
- Moved Rails features and APIs into NestJS services with JWT authentication
- Built the new pages straight from designers' Figma files, with Tailwind CSS
- Next.js
- React
- TypeScript
- NestJS
- Node.js
- Tailwind CSS
Performance02
Making slow pages fast
I traced a slow page to a single PostgreSQL query and cut it from 4,200 ms to 28 ms with the right indexes, then made the database ready for growth.
- Added an RDS read replica to spread read load off the primary database
- Caching with Redis (Sidekiq, AWS ElastiCache) and search with Elasticsearch
- Lazy loading and CloudFront CDN on the front end
- PostgreSQL
- Redis
- Elasticsearch
- AWS RDS
- CloudFront
DevOps03
Shipping and running it
Moved the front end, back end and Zapier service from Elastic Beanstalk to Docker containers on AWS ECS, and designed the GitHub Actions pipeline that builds and deploys them.
- Release time fell from about 1 hour to under 20 minutes once deploys were automated
- Set up Datadog monitoring, which cut the time spent debugging production issues
- Cut AWS costs by about $1,200 a month: about $700 from unused storage volumes, about $500 from a PostgreSQL version upgrade, and more from retiring an unused platform
- Tested every feature with Playwright and ran regression suites through an AI agent on pre-production and production before sign-off
- Docker
- AWS ECS
- S3
- IAM
- Kubernetes
- GitHub Actions
- Datadog
- Playwright
Platform04
Upgrading the core without breaking it
Upgraded Rails 5.1 to 6 and Ruby 2.6.3 to 3, adapting code, APIs and gems, and helped make the platform HIPAA-compliant.
- Improved authentication (Devise), added rate limiting and backend validation
- Integrated Microsoft Entra for a client migration
- Ruby on Rails
- Ruby
- Devise
- PostgreSQL
Integrations05
Payments, signatures and live updates
Connected the platform to the services agencies depend on, and built a custom onboarding pipeline that imports each new agency's data with live progress on screen. It led to about 5% more agency sign-ups.
- Stripe payments and subscriptions, Twilio SMS, DocuSign, Zapier and webhooks
- Live imported-record counts pushed to the browser with Pusher and WebSockets
- Wrote the platform's API documentation in Postman
- REST APIs
- Stripe
- Twilio
- DocuSign
- Zapier
- Pusher
- Sidekiq
AI06
AI features
Integrated Amazon Bedrock into the product, which helped lift sales and revenue by about 4%, and built a Python RAG pipeline that serves answers from an Ollama-hosted model to the web app. I also use Claude every day to plan, write and review code, and I check every change before it merges.
- Amazon Bedrock
- Python
- RAG
- Ollama
- Claude
Front end07
A drag-and-drop dashboard
A customisable dashboard where agencies arrange their own widgets to visualise and manage their cases, built from reusable React components. Agency purchases rose by more than 8% after it shipped.
- React
- TypeScript
- React DnD
- Redux
Kinectro, 202208
Product and crypto dashboards
A MERN product-management app with sign-up, login, validation and full create, read, update and delete, plus Binance price charts over chosen date ranges and a broker dashboard.
- MongoDB
- Express
- React
- Node.js
Earlier client project09
Rx-Pharmacy web system
A web application for running a pharmacy, built with ASP.NET and C#. The Microsoft stack carried on into NextAgency, where I maintained modules running on SQL Server and jQuery and integrated Microsoft Entra for a client migration.
- ASP.NET
- C#
- SQL Server
- jQuery
- Microsoft Entra