This is the third part of the NestJS learning series. Read Part 1 here – Getting Started Read Part 2 here – Connecting to Database In this part, we will learn about caching. This part of the series will cover the following topics: Enabling caching at the application level Enabling caching at the Route Level In-memory cachingContinueContinue reading “Learning NestJS Part 3: Data Caching”
Tag Archives: Nodejs
Learning NestJS Part 1: Getting Started
In this section, we’ll begin working with NestJS. This part of the learning series covers the following topics: Installation Creating the First Controller Creating the First Service Adding a GET Endpoint Adding a POST Endpoint For now, we will manage data using a JavaScript array. In future sections, we’ll learn how to connect to aContinueContinue reading “Learning NestJS Part 1: Getting Started”
What is Type Assertion in TypeScript
In TypeScript, Type Assertions allow developers to explicitly specify the type of a variable to the TypeScript compiler. When the compiler cannot infer the type of a variable and the developer is more sure about the type, they can use a type assertion. Type assertions are a compile-time construct that does not result in runtimeContinueContinue reading “What is Type Assertion in TypeScript”
What are Discriminated Unions Patterns in TypeScript?
Recently, I came across a pattern named Discriminated Unions Types in TypeScript. In this blog post, let us learn about that. Discriminated Unions are a pattern where each type in the union has a common property. In TypeScript, a union type allows a variable to hold one of several specified types. A straightforward example of aContinueContinue reading “What are Discriminated Unions Patterns in TypeScript?”
Video – Step by Step Create Node.js REST API with SQL Server Database
In this video, learn to create a Node.js API to perform CRUD operations on a database in SQL Server. https://www.youtube.com/watch?v=Uvy_BlgwfLI You can find the source code here : https://github.com/debugmodedotnet/sqlservernodejsrestapi For notifications of the further videos, subscribe to the <geek97/> Youtube channel here : https://www.youtube.com/c/geek97
Video – Step by Step using TypeScript in a Node.js Application
This video explains steps to use TypeScript in a Node.js application. You can read step by step article on the same here – here Download source code from here https://www.youtube.com/watch?v=fOkAMBVyuo0 To start with create a folder and run npm init command inside the folder. After that install these dependencies, npm install -D typescript npm installContinueContinue reading “Video – Step by Step using TypeScript in a Node.js Application”
Step by Step using TypeScript in a Node.js Application
https://youtu.be/fOkAMBVyuo0 Download or clone source code from here In this blog post, you are going to learn to configure the Node.js application to use TypeScript. At the end of the blog post, you will have a REST API created using TypeScript and Express in Node.js. Before starting to make sure that you have NodeJS installedContinueContinue reading “Step by Step using TypeScript in a Node.js Application”
High Performance Angular Grid with Web Sockets
Read full article on the Infragistics blog You may have come across the requirement to push data in real time to an Angular Grid. To push data to the browser, you need a technology called WebSocket. You can implement that using NodeJS or ASP.NET SignalR. For the purpose of this article, we will useContinueContinue reading “High Performance Angular Grid with Web Sockets”
Step by Step building Node.js based REST API to perform CRUD operations on MongoDB.
Download Source Code of this post from GitHub here Node.js is one of the greatest platform to create backend of the application. Does not matter whether you are creating a mobile app for iOS or Single Page Web application using Angular, you will need a backend for the application. Usually you perform databases operations, authentications,ContinueContinue reading “Step by Step building Node.js based REST API to perform CRUD operations on MongoDB.”
How to use NodeJS, Express, and Bower to Create AngularJS apps
Read full article on the Infragistics blog Recently I heard – “IDE makes you ignorant, so do not over rely on the IDE”. Being a .NET developer, we cannot think our lives beyond Visual Studio and hence somewhere we become ignorant. We really don’t care about the behind the scene complexities. We create a projectContinueContinue reading “How to use NodeJS, Express, and Bower to Create AngularJS apps”