Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
144

Latest Updates

Documenting code, one commit at a time.

English 10 posts
×

Unlocking Agility: Building an Editable Content Module with NestJS and Supabase

Remember the days of deploying code just to update a paragraph of text? Or waiting for a developer to change a crucial marketing message? In the vive-tu-mente-preview project, we've tackled this common pain point by introducing an editable content module.

This module empowers content managers and non-technical users to update specific sections of the application directly, without requiring a

Integrating Supabase into Your NestJS Application

The vive-tu-mente-preview project is enhancing its backend capabilities. A recent initiative involved the integration of Supabase, a powerful open-source Firebase alternative, to manage data and potentially authentication, providing a robust and scalable solution for the application's needs. This post details the process of adding a base Supabase module to a NestJS application.

The Problem

0 SQL Supabase

Empowering Dynamic Content: A Supabase Migration for Editable Data

Introduction

In the vive-tu-mente project, a platform designed for mental wellness and personal growth, content is king. To keep our platform engaging and up-to-date, the need for dynamic, editable content became paramount. This led to a crucial database migration aimed at establishing the infrastructure for managing content that can evolve without requiring application code changes.

Ensuring Data Integrity: Making Supabase Triggers Idempotent

Building robust applications requires careful attention to data integrity, especially when working with event-driven systems. In our vive-tu-mente-preview project, we encountered a common pitfall with database triggers: non-idempotency.

The Challenge with Triggers

Database triggers are powerful tools for automating tasks, like updating related tables or logging changes.

Streamlining Full-Stack Development: A Monorepo Approach with Next.js and NestJS

Building ambitious full-stack applications often introduces a unique set of complexities. As frontend and backend logic grow, managing dependencies, configurations, and deployment pipelines can become a significant overhead. We recently faced this challenge while evolving our vive-tu-mente-preview project.

The Symptoms

Initially, our project structure, while functional, began to show signs

Building a Robust NestJS Foundation: Initial Setup and Health Checks

We recently kicked off development for the Vive Tu Mente project, focusing on creating a scalable and maintainable backend. Our choice for the backend framework was NestJS, known for its modular architecture and strong support for TypeScript. This post details the crucial initial steps taken to establish a solid foundation, including essential configurations and a vital health check endpoint.

Streamlining Development: Adopting pnpm Workspaces for Monorepos

Introduction

Managing multiple, interconnected projects can often feel like herding cats. Each project might have its own node_modules directory, leading to duplicated dependencies, slower installation times, and a tangled web of local symlinks for inter-package development. For our vive-tu-mente-preview project, designed to preview new features and content, this fragmentation was

Building a Flexible Backend Dashboard with Next.js for vive-tu-mente-preview

As the vive-tu-mente-preview platform expands, the need for an efficient administrative interface became critical. Our goal was to streamline content management, user oversight, and data analytics without introducing significant overhead. The existing setup lacked a centralized tool for these crucial operational tasks, leading to fragmented processes.

The Challenge

The primary challenge was

Establishing API Reliability: Implementing a Health Check in NestJS

In the vive-tu-mente-preview project, a foundational step in building a robust backend service is ensuring its operational status is always known. This is precisely why we've focused on configuring a base API with a dedicated health check endpoint. A health check is more than just a ping; it's a critical mechanism for monitoring application availability, especially in containerized and