How to Write Unit Tests for Forms in an Angular 15 Application Using Jasmine?
Reading Time: 6 minutes In our previous blog, we demonstrated How to Write Unit Tests for Angular 15 Application Using Jasmine and Enforce Code Quality in a CI Workflow With Github Actions. We looked at general unit tests involving components that receive data from services. It is important to always ensure that Unit Tests are written in order to […]
How to Execute Linux Commands in Python?
Reading Time: 8 minutes As of this writing, Linux has a global desktop market share of 2.77% (A Report by Statcounter), but it powers over 90% of all cloud infrastructure and hosting services. It is critical to be familiar with common Linux commands for this reason alone. According to a 2022 StackOverflow survey, Linux-based operating systems are more popular […]
How to Write Unit Tests for Angular 15 Application Using Jasmine and Enforce Code Quality in a CI Workflow With Github Actions?
Reading Time: 10 minutes Refer to Part 2 of this blog, to know How to Write Unit Tests for Forms in an Angular 15 Application Using Jasmine? In this blog, we will cover: What is Unit Testing? About Angular About Jasmine Hands-on Conclusion What Is Unit Testing? As you develop applications, you write code and as the application features […]
How to Configure CORS in Node.js With Express?
Reading Time: 9 minutes Internet browsers typically deny access to unknown websites from your application programming interfaces and services. Doing this allows your server to share its resources only with clients that are on the same domain as yours and nobody else. However, there are times when you would like to relax this guard or would want to exercise […]
How to connect to MongoDB using Mongoose and MongoDB Atlas in Node.js?
Reading Time: 10 minutes MongoDB is one of the most popular No-SQL databases in the developer community today. Instead of SQL objects, No-SQL databases allow developers to send and retrieve data as JSON documents. In this blog, we will demonstrate how to connect to MongoDB using Mongoose and MongoDB Atlas in Node.js. Let’s get started! In this blog, we […]
How to Create a REST API with Rust Rocket Framework and Diesel Middleware with PostgreSQL Database?
Reading Time: 8 minutes For many years, C and C++ have been the main low-level programming languages. C and C++ require manual deallocation of memory to prevent memory leaks which are the major cause of security breaches in Software. Rust comes in to offer memory safety and at the same time speed of execution that matches that of C. […]
How to upload large files (1GB and beyond) to AWS S3 using NestJS (backend) and ReactJS (frontend)?
Reading Time: 5 minutes When dealing with file uploads, you must be aware that files are uploaded in buffers stored in memory and if the file is larger than the allocated memory in your VM, it may run out of memory and the application might crash. For example, if your allocated memory is 2GB, if you try to upload […]
How to perform encryption and decryption of messages using Crypto in Node.js?
Reading Time: 9 minutes Web applications have access to massive amounts of data belonging to individuals, organizations, and governments. The more data that is accessed, the greater the risk to data security. Cryptography and encryption techniques are used by software developers to protect sensitive data from malicious parties. Cryptography is used to protect data stored in a database or […]
How to ETL API data to AWS S3 Bucket using Apache Airflow?
Reading Time: 7 minutes 2.5 quintillion bytes of data are produced every day with 90% of it generated solely in the last 2 years (Source: Forbes). Data is pulled, cleaned, transfigured & then presented for analytical purposes & put to use in thousands of applications to fulfill consumer needs & more. While generating insights from the data is important, […]