First AI Developer: My Thoughts

Another day, another AI tool that claims to replace developers. You're probably tired of hearing about anything related to AI, and I don't blame you. AI fatigue is real. But bear with me. I don't typically jump on the AI bandwagon unless there'…

Generate Swagger Documentation for a Next.js API

This post teaches you how to generate Swagger documentation for your Next.js API. You also learn how to generate the OpenAPI Specification required by Swagger. In simple terms, an OpenAPI Specification is a document describing the structure of a REST API and how to interact with it. It contains…

The AI Visual Studio Code

TLDR; Cursor is a VS Code fork with AI capabilities integrated directly. Visual Studio Code is one of the most popular and loved IDEs by developers. And it’s understandable. It’s an excellent and complex IDE that has everything you need. I enjoy it, and I have been using…

Extend the Session Object in NextAuth

By default, NextAuth returns minimal information in the session object. However, there are use cases where you might want to return extra information to the client. This post shows you how to extend the session object and return additional fields to the client. NextAuth Callbacks NextAuth callbacks enable you to…

2023 In Review: Shitastic

When we plan for the future, we always prepare and hope for the best scenario. We never think about what could go wrong, so we never prepare for that. At the end of each year, we spend our time and energy setting grandiose objectives for the new year. We believe…

Build a Public tRPC API: trpc-openapi vs ts-rest

When we decided to build a public-facing API at Documenso, we had to choose between creating a new application from scratch or using the existing codebase. The first option meant building the API with a technology like Node.js, for example, and launching it under a new, separate domain. The…

Goodbye Chrome… hello, Edge?!

If you search "the most popular browsers" on the internet, you'll see Google Chrome at the top of all lists. And not only is it in the first place, but it's a huge difference between it and the others. In most lists, Chrome has…