Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
110

Latest Updates

Documenting code, one commit at a time.

Swagger 10 posts
×

Streamlining Entity Lifecycles and Tracking Data with NestJS DTOs

Managing the dynamic states and data associated with core entities can quickly become a complex endeavor. In the Acelerador 2.0 project, we recently tackled this challenge head-on by refining the lifecycle flows for 'editions' and 'participants', alongside introducing dedicated Data Transfer Objects (DTOs) for robust tracking.

The Challenge

Imagine an application where entities like an

Building Robust Admin Modules: A NestJS and TypeORM Approach for Acelerador-2.0

Developing administrative features, often referred to as 'admin panels' or 'tracking modules', can quickly become complex without a solid architectural foundation. For projects like Acelerador-2.0, which require robust backend capabilities, the challenge lies in creating maintainable, scalable, and secure systems that manage crucial data.

Mastering User Lifecycle: Implementing Soft Deactivation in NestJS

Managing user accounts effectively is crucial for any application, balancing security, data integrity, and user experience. While permanent deletion might seem straightforward, there are often compelling reasons to opt for a soft deactivation strategy. This approach allows accounts to be rendered inactive without losing their associated data, providing flexibility for re-activation, maintaining

Enhancing API Efficiency: Filtering Active Teams and Standardizing Database Types

Context: Enhancing the Acelerador-2.0 API

In the Acelerador-2.0 project, continuous improvements are vital for a robust and efficient backend. Recent updates focused on two key areas: introducing a dedicated endpoint to retrieve only active teams and ensuring consistent date/time handling across the database to improve compatibility with PostgreSQL.

Challenge 1: Accessing Active Teams

Mastering Flexible Data Retrieval: Building a Filtered User API with NestJS and TypeORM

Building APIs that allow users to dynamically filter and search through data is a common, yet often complex, requirement. Without a structured approach, these endpoints can quickly become unmanageable.

In the Acelerador-2.0 project, we recently tackled this by implementing a robust GET /user/filter endpoint. This new feature empowers clients to list users with optional filters for name,

Acelerador 2.0: Securely Empowering Participants with Account Insights

Project Context

In the Acelerador 2.0 project, our goal is to provide a robust platform for participants. A key aspect of this involves enabling users to easily access their personal information related to program editions, participation status, and earned diplomas. This capability is crucial for enhancing user experience and transparency, allowing participants to keep track of their

Building Secure User-Specific Endpoints in NestJS: A Team Data Example

In the Acelerador-2.0 project, enabling users to efficiently view their associated teams was a key requirement. This involved creating a secure, authenticated endpoint that could differentiate between a user's roles (participant or mentor) and retrieve only the relevant team information.

The Challenge: Secure, Role-Aware Data Retrieval

The core problem was not just fetching team data, but