SOFTWARE DEVELOPER

I build applications with Vue and Nuxt, integrate them with business systems, and run the infrastructure that hosts them. My work covers the full path of a commercial order — from the storefront to invoicing — and the self-hosted environment that keeps it online.

Vue.js · Nuxt · TypeScript · API Integrations · Automation · Self-hosted Infrastructure

Profile

This is me

Hi i'm Clément Lopes

  • 01Application DevelopmentInterfaces and applications in Vue, Nuxt and TypeScript — responsive, accessible, and validated against real REST endpoints.
  • 02Business Systems IntegrationConnecting e-commerce to invoicing and management software: catalog and stock synchronization, structured order data, nightly automation.
  • 03Infrastructure & AutomationProxmox VE, LXC and Docker, segmented networking, self-hosted GitLab and Coolify deployments, and monitoring with alerting.

My work sits across three areas that reinforce each other. I develop applications with Vue, Nuxt and TypeScript, building responsive and accessible interfaces with TailwindCSS and DaisyUI, and integrating and testing RESTful APIs. That application work sits on top of commercial systems: I connect e-commerce platforms to invoicing and management software, transmitting structured order data rather than just displaying a catalog.

Underneath both is the infrastructure. I run a Proxmox VE host that virtualizes the workloads with LXC and Docker, keeps public exposure behind a single controlled ingress, and gives private services a mesh VPN instead of an open port. Deployment runs through self-hosted GitLab and Coolify, and availability is monitored with Uptime Kuma feeding alerts to Discord.

Having all three means I can reason about the whole path of an order rather than one layer of it — from the storefront, through the ERP, to the hardware that keeps it running. I document the limitations of what I build as carefully as the architecture, because knowing where a system breaks is part of operating it.

Collaborative, adaptable, and experienced working in agile environments with Git and Kanban. I'm committed to continuous learning and improvement, making one commit at a time.

Curriculum

My Stack

Three areas of practice rather than a single list of technologies.

01

Application Development

Interfaces & applications
JavaScript

JavaScript

TypeScript

TypeScript

Vue.js

Vue.js

Nuxt

Nuxt

Pinia

Pinia

Vuex

Vuex

TailwindCSS

TailwindCSS

DaisyUI

DaisyUI

Electron

Electron

AI

AI API Integration

02

Business Systems Integration

Commerce & data flows
WooCommerce

WooCommerce

Goldylocks ERP

Goldylocks ERP

ifThenPay

ifThenPay

API

REST API

MySQL

MySQL

SQL

SQL

PHP

PHP

PocketBase

PocketBase

Postman

Postman

n8n

n8n

03

Infrastructure & Automation

Self-hosting & operations
Proxmox VE

Proxmox VE

Docker

Docker

LXC

LXC

Git

Git

GitLab

GitLab

Coolify

Coolify

NPMplus

NPMplus

Cloudflare Tunnel

Cloudflare Tunnel

Tailscale

Tailscale

Headscale

Headscale

AdGuard Home

AdGuard Home

Home Assistant

Home Assistant

Immich

Immich

Uptime Kuma

Uptime Kuma

Discord

Discord

SonarQube

SonarQube

Case Studies

Three areas of work that complement each other: integrating commercial systems, running self-hosted infrastructure, and developing applications. Each case study documents the architecture, the decisions behind it and the limitations that remain.

01Commercial project

E-commerce & Business Integration

Connecting storefronts to commercial systems: catalog, stock, orders and invoicing.

E-commerce & Business Integration marcaqmarca.com

MARCA Q' MARCA

E-commerce platform with invoicing system integration

  • Web development
  • API integration
  • Commercial process automation
  • System-to-system communication

Case study & limitations

MARCA Q' MARCA logo

Online store with roughly 21,000 articles, nightly product and stock synchronization, and order data transmitted to the Goldylocks invoicing system. Payments are handled through iThenPay.

Catalog integration

The store serves a catalog of approximately 21,000 articles through WooCommerce. New products are imported and stock levels are refreshed by a scheduled nightly job rather than by manual intervention, so the store reflects supplier and warehouse movements without recurring manual work.

Billing system integration

When an order is placed, the store transmits structured commercial data to the Goldylocks ERP: customer identity, shipping address, product lines with quantities and unit prices, and the applicable VAT rates. The point is not simply importing products — it is connecting the order process to a system that has to receive commercially consistent information and turn it into an invoice.

After the handover

Once the order has been handed over, it is marked as completed in the store and management stays centralized in the Goldylocks software. The transmission is one-way: the store sends the order and does not wait for an invoice document to be returned. Invoicing, order states and commercial management remain the responsibility of the ERP, which is already the single source of truth for the operation.

Payments

Payments are integrated into the checkout through iThenPay, which completes the purchase as a payment-by-reference flow before the order is handed to the invoicing system.

Known limitations

Nightly synchronization window

Product and stock data refresh once per night, so the store can carry up to roughly 24 hours of drift from the underlying supplier and warehouse reality.

Mitigation — Event-driven or higher-frequency synchronization for the categories where drift is commercially relevant.

Stock can be oversold inside the window

An order accepted near the end of the day may reference an article that is no longer available, because availability was last read hours earlier. Detecting that at order level would require real-time stock validation before the order is accepted.

One-way transmission

The store does not receive an invoice confirmation back, so it cannot independently verify that a document was issued. The order is completed on the store side because management is centralized in the ERP. This is a deliberate design decision rather than a defect, but it does mean invoicing state is only observable in the ERP.

02Home Lab

Infrastructure & Self-hosting

Virtualization, networking, deployment and monitoring on self-owned hardware.

Infrastructure & Self-hosting

Home Lab — Proxmox VE

Self-hosting · Virtualization · Networking · DevOps

  • Virtualization & containers
  • Network segmentation
  • Automated deployment
  • Monitoring & alerting

Case study & limitations

Self-hosted Proxmox VE infrastructure on a mini PC: LXC and Docker workloads, restricted public exposure through a single controlled ingress, mesh VPN for private access, automated deployment, and availability monitoring with Discord alerts.

Virtualization & services

A mini PC running Proxmox VE hosts the workloads as LXC containers and Docker containers, which keeps resource allocation explicit per service group. Development and deployment run on self-hosted GitLab, with Coolify handling application builds and containerized deployments. Automation and backend services run on PocketBase and n8n. Home automation and multimedia services include Home Assistant, ESPHome, DVR Agent, Immich and iVentoy.

Network architecture

The residential connection sits behind carrier-grade NAT, so there is no public IP address to forward ports to and dynamic DNS cannot resolve to the network. Instead of working around that constraint with port forwarding, the public ingress is an outbound Cloudflare Tunnel: the tunnel dials out from inside the network and terminates at Cloudflare, which means no inbound port is ever opened on the router. Domains such as this portfolio resolve through Cloudflare, reach the tunnel and terminate at NPMplus, which forwards each hostname to the matching IP:port inside the lab.

  • NPMplus is the single public entry point and reverse proxy. It decides which container answers for a given hostname.
  • A Cloudflare API token lets NPMplus issue and renew TLS certificates through DNS-01 validation, automatically, without port 80 or 443.
  • Sites published through Coolify — including this portfolio — are exposed the same way: Cloudflare DNS, the tunnel, NPMplus, then the application IP:port.
  • Private services such as GitLab, Home Assistant, Immich and AdGuard Home stay on the mesh and are never exposed to the Internet.

Private access

Remote access to the private services does not go through the public ingress. The labs use Tailscale as the mesh VPN: its free tier is enough for the current fleet, up to 100 enrolled machines. Headscale and Headplane were evaluated first — a self-hosted coordination server to keep the tailnet independent from a third party — but Headscale is not compatible with the Cloudflare Tunnel, so Tailscale was selected for day-to-day remote access.

Storage & backups

Two SSDs split the workloads. The first carries the LVM-based storage used by the containers. The second, of 500 GB, holds Immich, DVR Agent, n8n storage and the backup destination. A scheduled Proxmox backup runs daily at 21:00 and covers all containers to the local disk.

Monitoring & alerting

Uptime Kuma provides availability monitoring for the self-hosted services. Fewer than ten monitors are configured: ICMP pings to the Docker host machines, NPMplus and the databases, plus HTTP requests against the exposed sites to confirm they actually answer. Events are pushed to a Discord channel through webhooks, so outages and recoveries surface as notifications instead of requiring the dashboard to be checked manually.

  • The monitors reach services over the same host or bridge network, which lets private services be monitored without exposing them.
  • Notifications are outbound webhook calls, so the alerting path adds no new inbound exposure.

Deployment

Applications are developed in the self-hosted GitLab instance. Coolify consumes the repository, builds the image and deploys it as a container, which keeps the path from commit to running service inside the same infrastructure.

Known limitations

Backups live on the same host

The daily backup goes to a local disk on the same mini PC it is protecting. It covers mistakes at the service and data level, but it would not survive the failure of that disk or of the machine itself.

Mitigation — Copying backups periodically to external storage. The reason it is not in place is the cost of the additional equipment.

The monitor runs on the host it monitors

Uptime Kuma is hosted on the same mini PC it watches. If that machine goes down, the monitor cannot report the outage — the failure is silent instead of being alerted.

Mitigation — Hosting the monitor outside the machine it watches, so a host failure still produces a notification.

Coordination depends on a third-party service

Tailscale is the mesh currently in use. It was chosen after evaluating Headscale, which could not work through the Cloudflare Tunnel. The tailnet therefore depends on a third-party coordination service, which is accepted in exchange for compatibility.

Mitigation — Returning to a self-hosted coordination server if a compatible setup is found, keeping the same Tailscale client protocol.

Limited public exposure is not network security

Exposing only a few services reduces the attack surface, but it is a decision rather than a guarantee. Security still depends on firewall rules, open ports, application permissions, TLS and authentication on each service.

Flat internal segmentation

The monitored services sit on the same host or bridge network, which is convenient for monitoring but means isolation between them relies on container boundaries rather than on network segmentation between zones.

Mitigation — Firewall rules between the service groups, so a compromised service is not adjacent to the others.

03Applications

Software Development

Application development across front-end and full-stack work.

Software Development Goldylocks

Goldylocks POS

Point of sale front-end — cafés & restaurants

  • Front-end maintenance
  • Sales workflow fixes
  • REST API testing
  • Backend coordination

Case study

Goldylocks POS logo

Maintained and improved the front-end of a point-of-sale system for public retail, covering cafés and restaurants. New features, operational fixes, API testing in Postman and coordination with the backend team.

Scope

Responsible for maintaining and improving the front-end of the POS system: implementing new features, fixing operational issues inside the sales workflow, and handling day-to-day problems that surface in a live retail environment.

API testing

REST endpoints were exercised and validated in Postman, with issues triaged and coordinated against the backend team.

Relation to the MARCA Q' MARCA integration

The POS is the retail-facing surface of the same Goldylocks ERP that receives the order data from the MARCA Q' MARCA e-commerce integration. Working on both ends of that system means seeing the commercial flow from the invoicing back office through to the point of sale.

Software Development jldecoracoes.com

JL Decorações

AI visualizer · instant quotes for made-to-measure window coverings

  • AI room visualizer
  • Instant quote engine
  • Dimension validation rules
  • E-mail & WhatsApp delivery
  • Total cost: €6.38 (Domain)

Case study & limitations

JL Decorações logo

Website for an interior-decoration business, built end to end. The client uploads a photo of the room they want to redecorate and describes their tastes and specifications, and an AI model renders the space with the suggested decor. An instant-quote flow then takes the window and wall measurements, validates the configuration against the real catalogue and produces a budget the client can download and receive by e-mail.

AI room visualizer

The client uploads a photo of the room they want to redecorate — click or drag & drop, JPG/PNG up to 5MB — picks the space (living room, bedroom, kitchen...) and the style (modern, minimalist, classic...), and can optionally add free-text instructions for the AI. The image is resized and compressed in the browser, sent to a server route that calls the SenseNova (SenseTime) image API, and the generated visualisation comes back to the page. The uploaded images are discarded after generation, as stated in the site's RGPD policy.

Instant quotes

A multi-step wizard where the client enters the measurements for each window — window and wall dimensions, clearance to the ceiling, moulding — then picks the product family, the exact products, colours, mounting position and command (manual or motorised), with the total updating as the configuration changes. The finished quote can be downloaded as a file, shared on WhatsApp and is sent to the business by e-mail.

Validation engine

Every configuration is checked against the real catalogue before the quote goes out: fabric height against the required height, rail widths, oversized rails, lateral clearance and mounting rules. Problems come back as user-facing warnings inside the wizard and as structured observations attached to the quote, so an impossible combination is caught before it ever reaches the shop.

Catalogue and data model

PocketBase holds the catalogue — categories, sub-categories, products, colours, commands and mounting positions — together with the company data rendered by the legal pages and contact forms. Quote requests go through a server route that persists the customer, each window, the chosen products and the totals.

SSR, SEO and structured data

Every route is server-side rendered: per-page titles, descriptions, canonical URLs, Open Graph and Twitter cards, and JSON-LD structured data describing the business — legal entity, address, opening hours and a full catalogue of services. Search engines and social scrapers get complete HTML instead of an empty shell, while the interactive parts still hydrate on the client.

Built with AI assistance

Developed with opencode, an AI coding agent driven by skills and MCP servers, which compressed the build of the wizard, the validation rules and the legal pages into a fraction of the usual time while I kept ownership of the architecture and reviewed every change that went in.

Deployment

Self-hosted on the home lab with Coolify behind Cloudflare — the same infrastructure that runs this portfolio, so both sites are deployed and observed the same way.

Running cost: the domain

Every choice was made to keep the bill at zero. Nuxt, PocketBase, Coolify and Cloudflare are open source and run on the homelab; the contact form goes out through Brevo's free tier, capped at 300 e-mails per day; the visualizer runs on the SenseNova image-editing free quota, with its own usage limit. Those free-tier caps are what define the operational limits instead of paid plans, and the only real expense is the domain itself — €6.38 in total.

Known limitations

Instant quotes only cover curtains

The quote wizard is live for curtains only. Rollers, vertical blinds and the rest of the product catalogue are not selectable yet, so those requests still fall back to the manual contact form instead of going through the validated flow.

Mitigation — Extending the catalogue with the remaining products and building the dedicated flow for roller and vertical blinds — currently in progress.

Quote wizard hydrates client-side

The pages are server-rendered, but the quote calculator loads its catalogue — categories, products, colours, commands — from PocketBase after mount, so the first paint of that section is an empty container that fills in once the data arrives. Crawlers see the page copy, but not the tool itself, and a slow connection waits before it can configure anything.

Mitigation — Preloading the catalogue on the server (or prerendering a static snapshot of it) so the wizard renders its first step with real products in the initial HTML.

No server redundancy

Everything runs on a single home-lab machine with no failover — if that machine or the connection goes down, both this site and the portfolio go down with it. The home lab is also the cheapest place to run, which is what kept the cost at the domain.

Mitigation — Health checks and automated restarts already cover software crashes; for real redundancy the next step is a second node or a static mirror on external hosting.

Software Development Demo access pgo.clementlopes.pt github.com/clementlopes

PGO — Budget Management Platform

Full-stack · replacing hand-written budgets with client-ready documents

  • Full-stack
  • Replaces paper budgets
  • On-demand PDF
  • Relational data model

Case study & limitations

PGO — Budget Management Platform logo

A budget-management platform developed end to end for a small company that was quoting work on paper. Documents, clients and line items with products or services, line-level values, and a final PDF generated on demand from the stored data.

Demo access
Useradmin
Passwordadmin2026

Why it exists

The company was writing budgets by hand, which made them slow to produce and hard to present: the layout changed from one document to the next and a client had no consistent structure to read. The platform assembles the same budget from stored clients, products and services, so what reaches the client is a properly formatted document with line items and totals instead of a sheet of paper.

What it does

Documents, clients and line items can be created, edited and deleted. A line item carries a product or a service together with its own value, and the platform generates a final PDF from the assembled document.

Generated on demand, not stored

Only the data is persisted. The PDF is assembled in the browser with jsPDF and jspdf-autotable from the stored document whenever it is requested, and the generated file is not kept afterwards — storage stays small, but the document has to be produced again to be seen again.

Scope

Built end to end, covering the relational data model, the persistence layer and the interface. It is an internal tool for a single company: the clients interact with the finished document, not with the platform.

Deployment

Published at pgo.clementlopes.site behind Cloudflare and fronted by NPM, with Virtualmin managing the domain, the PHP site and the MySQL database. Virtualmin was picked for the web applications it ships with — phpMyAdmin among them — which makes operating the database side direct, without a separate toolchain.

Known limitations

No record of the document that was sent

Because the PDF is generated on demand and never saved, the database holds the current version of a budget rather than the version that was actually issued. A document edited after being sent produces different values next time it is generated, and there is no way to show what the client originally received.

Mitigation — Versioning each document and keeping the generated file for the revisions that were really sent, accepting the storage cost that the current approach avoids.

Legacy stack, still in production

The platform runs on PHP with AdminLTE and a client-side PDF library, a combination I would not start a new project with today. It is not a reference frozen in time either: it is deployed and in daily use, and the recent work on it covered session handling, password hashing and code organisation rather than a rewrite.

Mitigation — Rewriting it on Nuxt and TypeScript with server-side PDF generation, reusing the same relational model.

No audit trail

Access requires a login and each budget stores the user who created it, but edits are not versioned: the database keeps only the current row, with no record of who changed a value or when.

Mitigation — Recording the revision history of each document, so an issued value can be traced back to the moment it was set.

A budget does not become an order

The document leaves the system as a PDF and nothing links it to invoicing or to an order, so an accepted quote still has to be re-entered elsewhere. That gap is the same one the MARCA Q' MARCA integration closes from the other direction, by sending an order to the ERP instead of producing a document.

Mitigation — Marking an accepted budget as won and pushing its line items into the ERP as an order.

Get In Touch

Contact Information

Location

Braga, Portugal

Social