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…

Rethink Full-Stack Development: Is a Custom Backend the Best Choice?

This article covers the conventional way of building full-stack applications and why manually building your backend is not always the best choice. You'll see an alternative solution for your backend needs that can be used standalone or coupled with your custom-built backend. The issues with the traditional backend…

Build An E-Commerce Backend With Minimal Code

In the traditional approach to building Full Stack applications, you need to manually build the backend and frontend. Building your backend manually means that you need to decide whether to use REST or GraphQL. Based on what you choose to use, you need to define GraphQL schemas, resolvers, write database…

Pass Command Line Arguments To Your Node.js App

In this article, you will see how to pass command-line arguments to your Node.js application. You will also learn how to access them. However, before proceeding further, let's start with some basic stuff. To run a Node.js application, you run the following command in your terminal:…

Track Job Applications With Notion API, Node.js and FastifyJS

Notion is a productivity software that allows you to create systems for knowledge management, project management and note-taking. They recently released their API to the public. You can use the API to integrate your Notion data to any application you want. Thus, this article shows you to: * build a Node.…