Latest Updates

Documenting code, one commit at a time.

Zod 1 post
×

Streamlining Business Logic with DTOs and Zod Validation in Our Portal Backend

Introduction

We've been working on the backend for our FNSM Portal, focusing on solidifying the business logic layer. A key part of this has involved defining robust Data Transfer Objects (DTOs) and implementing validation using Zod. This ensures data consistency and reduces errors throughout the application.

Business Model and DTOs

Our approach begins with a well-defined business model

Read more