HomeWorkLaboratoryCertificationsBlogLet's Talk

© 2026 Juan Villegas. All rights reserved.

Solutions Architect

    Back

    SpaceShare — API

    API — payments and hardening

    NestJS backend for the SpaceShare marketplace: hexagonal architecture, card payment verified with 3D Secure, and production hardening designed case by case.

    Infrastructure & Backend

    The Challenge

    The backend needed to be truly production-ready, not like a prototype: an architecture that could handle growth, reliably verified payments, and real protection against abuse and brute force.

    The Solution

    An API with hexagonal architecture that keeps business logic separate from infrastructure, capable of growing without being rewritten. Card payments are verified with 3D Secure and actively confirmed on each transaction, and the entire API is protected with security headers and rate limits designed on a case-by-case basis.

    Related project

    SpaceShare

    Role in the project

    Solution Architect and Full Stack Dev.

    Tech Stack

    Backend

    NestJS

    Database

    MongoDB

    Infrastructure

    DockerDocker ComposeTraefik

    What it protects in production

    • HTTP security headers configured with judgment, not a generic template.
    • Rate limiting active across the entire API, with necessary exceptions verified in another way.
    • The system does not start without payment credentials correctly configured.

    Infrastructure in production

    • Complete production infrastructure handled by the developer, from domain to VPS, with periodic server maintenance approximately every two months.

    How it's deployed

    Web frontend (Next.js)
    Traefik (reverse proxy + automatic TLS)
    Docker container (NestJS API)
    MongoDB
    React Flow
    Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
    Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
    ShareLinkedIn

    Need something similar?

    Let's talk about your project.

    Let's talk