Generate Dynamic Metadata in Next.js: Metadata Object & generateMetadata Options

Generally, we use something like this to create metadata in Next.js: And it works very well, as we can see below: But if you observe the source code, you can see one other that is by default defined by Next.js by root layout: The same goes for descriptions and other tags: Having duplicate metadata tags

Generate Dynamic Metadata in Next.js: Metadata Object & generateMetadata Options Read More »

Making HTTP Requests in Node.js With node-fetch

When developing web applications, we don’t actually build everything from scratch. We may sometimes want to “outsource” certain tasks. For this, we can use APIs from other websites that offer services that we integrate into our application without lifting a finger! To achieve this, we can use the built-in window.fetch() when using plain vanilla JavaScript.

Making HTTP Requests in Node.js With node-fetch Read More »