HomeWorkLaboratoryCertificationsBlogLet's Talk

© 2026 Juan Villegas. All rights reserved.

Solutions Architect

    Back

    KissthePlan — API

    API — multi-user collaboration

    NestJS backend of the KissthePlan wedding SaaS: shared access resolution (owner/collaborator) in the JWT, and a mapping layer that decouples the MongoDB schema from what the frontend consumes.

    Infrastructure & Backend

    The Challenge

    A wedding can have up to 3 people managing it at the same time. The backend needed to resolve who can access which wedding without the rest of the system having to distinguish between owner and collaborator in each query.

    The Solution

    The authentication layer resolves at the moment whether the requester is the wedding owner or an accepted collaborator, without the rest of the API having to distinguish between the two. Joining a wedding can be done by invitation with a unique link, or with an account created directly by the organizer. Mongo data does not always match what the frontend needs, so there is an explicit translation layer between the two, field by field.

    Related project

    KissthePlan

    Role in the project

    Solutions Architect and Full Stack Dev.

    Code

    Tech Stack

    Backend

    NestJS

    Database

    MongoDBMongoose

    Infrastructure

    DockerTraefik

    Infrastructure in production

    • Production VPS instance sold and managed by the developer, from domain to server, with periodic maintenance approximately every two months.

    How it's deployed

    Frontend web (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