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 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 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 set up a PM2 daemon process manager for a Node.js application?
Reading Time: 9 minutes Process management encompasses a wide range of activities centered on the creation, termination, and monitoring of processes. A process manager is a program that ensures that your applications remain operational after they have been launched. Process managers can prevent production downtime by restarting your application automatically after a crash or even after the host machine […]
Connect Snowflake with Python and execute queries
Reading Time: 5 minutes Snowflake cloud data warehouse is a buzzing trend in managing data these days as it has advantages like cost-effectiveness, auto-scaling, easy-to-transform data, etc. over traditional data warehouses. It is greatly assisting organizations in terms of its critical role in ELT (Extract-Load-Transform). Python is a very popular programming language that is used for data manipulation, ML, […]
Perform a Session-based User Authentication in Express.js
Reading Time: 10 minutes While it is possible to render static websites from a server, this approach has many limitations, including code duplication and a lack of flexibility — particularly when it comes to reading data from a database. Fortunately, Express.js includes a template engine that allows us to generate dynamic HTML pages from our server-side applications. A template […]
How to upload single or multiple images to a local directory with Multer in Node.js?
Reading Time: 7 minutes The most fundamental operation of any application is a file upload. While images can be uploaded on the front end, they must be received via an API and database on the backend. You can set up file and image uploads in one place using Multer and Express, a Node.js framework. In this blog, we will […]