Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
110

Latest Updates

Documenting code, one commit at a time.

JWT 4 posts
×

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

Securing Your API: Implementing Authenticated Endpoints and Swagger JWT with NestJS

Building robust and secure APIs is fundamental in modern web development. In our recent work on Acelerador 2.0, a significant enhancement involved introducing a new authenticated endpoint for fetching user-specific team data, alongside integrating JWT authentication directly into our Swagger documentation.