Skip to main content

Bespoke Frontend Architecture, Micro-Interactions & Production DevOps Hardening

AM

Andrés Morales

AI & Full-Stack Systems Architect

•2 min
#Frontend Architecture#Next.js#TailwindCSS#DevOps#Linux Hardening#BuildInPublic

Today's Challenge: Brand Individuality vs. Engineering Consistency

Our engineering challenge today was twofold: delivering bespoke, zero-template digital experiences across multiple independent brands without technical debt, while enforcing strict mobile audits, performance budgets, and server hardening on our Linux production VPS.

We tackled two major application areas:

  1. Gato Colectivo & Local Ventures (Opuamesa, Afrobella): Crafting distinctive visual signatures, artisanal palettes, and fluid micro-interactions while standardizing common contact funnels and shared footer topologies.
  2. Kambelleh Dashboard: Refactoring a spatial management workspace, removing navigation clutter, ensuring light-mode clarity with regional accents, and preserving high-fps responsiveness via motion/react.

Desktop Layout


Frontend Architecture Highlights

1. Decoupled Components & System Theming

Tailoring bespoke layouts while keeping maintainability requires composable primitives via Shadcn UI and Tailwind CSS. We decoupled animation layers and state hooks to prevent layout shifts and flickering (FOUC):

// Theme observer hook for seamless dark/light synchronization
import { useEffect, useState } from 'react';

export function useThemeObserver() {
  const [isDark, setIsDark] = useState(false);

  useEffect(() => {
    const html = document.documentElement;
    const checkTheme = () => setIsDark(html.classList.contains('dark'));
    
    checkTheme();
    const observer = new MutationObserver(checkTheme);
    observer.observe(html, { attributes: true, attributeFilter: ['class'] });

    return () => observer.disconnect();
  }, []);

  return isDark;
}

2. Comprehensive Mobile Audits

Quality assurance happens on physical devices. We audited layout viewport stability, touch target boundaries (min 48px), and reduced motion compliance (prefers-reduced-motion) across every dynamic route.

Mobile Audit


DevOps & Production Server Hardening

A modern UI must be supported by an unyielding infrastructure stack. On our Linux production VPS, we enforce continuous hardening:

  • Strict UFW Firewall: Only ports 22 (hardened SSH), 80, and 443 are exposed. Unsolicited traffic on arbitrary ports is dropped immediately.
  • Fail2ban Jails: 2 active jails actively monitoring sshd and docker-auth with exponential bans.
  • Caddy Reverse Proxy & HTTP/3: Zero-friction QUIC protocol and automated TLS 1.3 lifecycle management.
  • Automated Telegram Backups: Cron-scheduled encrypted database snapshots routed straight to a secured Telegram vault.

ROI & Performance Metrics


Key Takeaways

Building in public proves that custom UI designs and strict backend reliability can thrive together when guided by solid architectural boundaries.

Looking to scale your frontend with battle-tested cloud infrastructure? Let's connect at andresmorales.com.co.

CONSULTING & ARCHITECTURE

Need to automate your business operations or ship high-velocity web products?

I architect AI pipelines, modernize stacks with Next.js, and harden Linux infrastructure. Let’s talk architecture, scalability, and measurable ROI.

AI Automation · UI/UX · Production

Ship the thing.Skip the boilerplate.

Independent practice based in Cali. Automation flows, hand-built UI, and end-to-end web — for teams that would rather have it done than debate it.

Let's talk
2,014Est. 2014

From intake to deploy, the studio keeps work in one place: scope, design, build, ship. Briefs land on the desk, deliverables land on the client.

Andrés Morales