Read Backend blog posts at TO THE NEW Blog https://www.tothenew.com/blog Thu, 30 Jul 2026 10:24:52 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.2 Terraform State Migration: Seamlessly Moving from AWS S3 to Google Cloud Storage https://www.tothenew.com/blog/terraform-state-migration-seamlessly-moving-from-aws-s3-to-google-cloud-storage/ https://www.tothenew.com/blog/terraform-state-migration-seamlessly-moving-from-aws-s3-to-google-cloud-storage/#respond Wed, 29 Jul 2026 07:43:10 +0000 https://www.tothenew.com/blog/?p=80734 Introduction: What if the single source of truth for your entire infrastructure lived in the wrong cloud? For years, our Terraform state lived in an AWS S3 bucket while our infrastructure increasingly ran on Google Cloud Platform. That split created cross-cloud dependencies, IAM complexity, and a growing mismatch between where we managed infrastructure and where […]

The post Terraform State Migration: Seamlessly Moving from AWS S3 to Google Cloud Storage first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/terraform-state-migration-seamlessly-moving-from-aws-s3-to-google-cloud-storage/feed/ 0
GraphQL vs REST: What We Gain and What We Lose https://www.tothenew.com/blog/graphql-vs-rest-what-we-gain-and-what-we-lose/ https://www.tothenew.com/blog/graphql-vs-rest-what-we-gain-and-what-we-lose/#respond Mon, 16 Feb 2026 09:46:24 +0000 https://www.tothenew.com/blog/?p=77802 Introduction Over the past few sprints, a recurring question has been: GraphQL or REST? Most discussions revolved around frontend flexibility, performance, and how much complexity we want in our APIs. For example, a mobile app often needs just user names, not full profiles—overfetching in REST can impact performance, increasing bandwidth and slowing down user experience. […]

The post GraphQL vs REST: What We Gain and What We Lose first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/graphql-vs-rest-what-we-gain-and-what-we-lose/feed/ 0
What is Serverless and How JavaScript Fits Into It https://www.tothenew.com/blog/what-is-serverless-and-how-javascript-fits-into-it/ https://www.tothenew.com/blog/what-is-serverless-and-how-javascript-fits-into-it/#respond Thu, 04 Sep 2025 09:29:58 +0000 https://www.tothenew.com/blog/?p=75016 Introduction Serverless. A term that often confuses at first glance. Because servers are still there. You just don’t touch them. You don’t set them up, scale them, or patch them. That’s someone else’s job now — the cloud provider’s. And the most common example of this approach is AWS Lambda. For many developers, Lambda is […]

The post What is Serverless and How JavaScript Fits Into It first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/what-is-serverless-and-how-javascript-fits-into-it/feed/ 0
Getting Started with Strapi CMS: A Comprehensive Guide for Developers https://www.tothenew.com/blog/getting-started-with-strapi-cms-a-comprehensive-guide-for-developers/ https://www.tothenew.com/blog/getting-started-with-strapi-cms-a-comprehensive-guide-for-developers/#respond Tue, 10 Dec 2024 07:47:11 +0000 https://www.tothenew.com/blog/?p=68775 Introduction Strapi CMS is a headless, open-source content management system designed for modern web and mobile applications. Unlike traditional CMS platforms, Strapi is a modern tool where the part that manages content (backend) is separated from the part users see (frontend). This lets developers choose any design or technology for their website or app while […]

The post Getting Started with Strapi CMS: A Comprehensive Guide for Developers first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/getting-started-with-strapi-cms-a-comprehensive-guide-for-developers/feed/ 0
Containerizing Your Node.js Server with Docker: Using Custom Docker Bridge Network https://www.tothenew.com/blog/containerizing-your-node-js-server-with-docker-using-custom-docker-bridge-network/ https://www.tothenew.com/blog/containerizing-your-node-js-server-with-docker-using-custom-docker-bridge-network/#respond Fri, 20 Sep 2024 07:21:52 +0000 https://www.tothenew.com/blog/?p=65340 Introduction: Why Containerization Is Important In modern software development, containerization has become a standard practice, particularly for Node.js applications and microservices. But why is containerization so valuable? Consistency Across Environments: One of the main challenges in development is environment inconsistencies. An application that runs on your local machine might behave differently in production due to […]

The post Containerizing Your Node.js Server with Docker: Using Custom Docker Bridge Network first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/containerizing-your-node-js-server-with-docker-using-custom-docker-bridge-network/feed/ 0
Exploring Fastify vs. Express.js: Choosing the Right Node.js Framework for Your Project https://www.tothenew.com/blog/exploring-fastify-vs-express-js-choosing-the-right-node-js-framework-for-your-project/ https://www.tothenew.com/blog/exploring-fastify-vs-express-js-choosing-the-right-node-js-framework-for-your-project/#respond Fri, 29 Mar 2024 04:55:26 +0000 https://www.tothenew.com/blog/?p=60933 When it comes to selecting a web application framework in the Node.js world, developers have a wealth of possibilities. The two most often used options are Express.js and Fastify. Both frameworks have special qualities and benefits that make them appropriate for various use cases. We’ll examine the features of Express.js and Fastify in this blog […]

The post Exploring Fastify vs. Express.js: Choosing the Right Node.js Framework for Your Project first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/exploring-fastify-vs-express-js-choosing-the-right-node-js-framework-for-your-project/feed/ 0
Implementing Role based Access Control in NestJS https://www.tothenew.com/blog/implementing-role-based-access-control-in-nestjs/ https://www.tothenew.com/blog/implementing-role-based-access-control-in-nestjs/#respond Mon, 11 Mar 2024 04:40:19 +0000 https://www.tothenew.com/blog/?p=60668 NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications. A prerequisite for this article is a basic understanding of NestJS. If you have worked on Node.js web applications and want to implement applications using object-based programming, such as Java, NestJS is good to go. The learning curve is also not […]

The post Implementing Role based Access Control in NestJS first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/implementing-role-based-access-control-in-nestjs/feed/ 0
Why and how finally{…} block is NOT meaningless https://www.tothenew.com/blog/why-and-how-finally-block-is-not-meaningless/ https://www.tothenew.com/blog/why-and-how-finally-block-is-not-meaningless/#respond Wed, 25 Jan 2023 09:33:55 +0000 https://www.tothenew.com/blog/?p=56524 A definition first (from the internet): try-catch-finally is used to handle runtime errors and prevent them from halting the execution of a program. The finally block triggers regardless of: what is implemented inside the try-catch block any errors encountered inside try-catch block any return statement written inside the try-catch block Example 1 Consider this example where there’s no error: (()=>{ try { console.log(`Try block triggered`) […]

The post Why and how finally{…} block is NOT meaningless first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/why-and-how-finally-block-is-not-meaningless/feed/ 0
Top level await() without async() function in NodeJs https://www.tothenew.com/blog/top-level-await-without-async-function-in-nodejs/ https://www.tothenew.com/blog/top-level-await-without-async-function-in-nodejs/#respond Tue, 24 Jan 2023 15:45:57 +0000 https://www.tothenew.com/blog/?p=56521 Here’s how async-await function typically works: function myDummyBackendCall() { return new Promise((resolve) => { setTimeout(() => { resolve({ name: "Shivang", id: "asmdhajkdhajdsh8qweuqoweuiqepoi-0q-0eueiuaisjdaKcjaisku", }); }); }); } // Used an async wrapper function to make an await call (async () => { let data = await myDummyBackendCall(); console.log(data); })(); If you are a JS developer, you […]

The post Top level await() without async() function in NodeJs first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/top-level-await-without-async-function-in-nodejs/feed/ 0
Go Pointers! Let’s talk about it… https://www.tothenew.com/blog/go-pointers-lets-talk-about-it/ https://www.tothenew.com/blog/go-pointers-lets-talk-about-it/#respond Mon, 23 Jan 2023 14:41:07 +0000 https://www.tothenew.com/blog/?p=56478 A pointer, as name suggests, is a variable that points to a location in the memory of your system where a value is stored rather than a value itself. Basically, it is an address to the value stored in memory. The definition is simple but this concept can be a little tricky to wrap your […]

The post Go Pointers! Let’s talk about it… first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/go-pointers-lets-talk-about-it/feed/ 0