Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
144

Latest Updates

Documenting code, one commit at a time.

Building a Robust Articles API with NestJS and Supabase

The vive-tu-mente-preview project recently integrated a new articles API. This update was crucial for managing and delivering content dynamically, laying the groundwork for a scalable content platform. This post delves into the architectural choices and implementation approach that powered this new feature.

The Challenge

When building new API endpoints, especially for content delivery,

Securing Admin Access: Building Robust Authentication with Supabase and NestJS

Ensuring the integrity and security of administrative interfaces is paramount for any application. Without strong authentication mechanisms, sensitive data and critical configurations are vulnerable. This was a core focus for the vive-tu-mente-preview project, where we recently integrated a dedicated admin authentication flow.

The Challenge

Previously, administrative access might have

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

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.

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

Establishing Robustness: Configuring Base API and Health Checks in NestJS

In the vive-tu-mente-preview project, a foundational step in ensuring the reliability and readiness of our backend services involved configuring a robust base API and implementing a health check endpoint. This ensures that our services are not only operational but also transparent about their status, crucial for modern deployment environments.

Introduction

For any backend application,

NestJS Modularity: Learning from a Reverted TypeORM and Service Export

The SBSofiaBartoli/ecommerce-md-back project is an e-commerce backend system. We recently encountered a common challenge related to module design and dependency management when implementing features.

The Situation

During a recent development cycle for our e-commerce backend, a new feature involving user management required access to the UsersService and certain TypeORM repository