Article
Parsing URLs is a common task to perform during web development, and also one that seems to be simple but can get complex. It's not often that you come across a module that makes parsing so easy that you don't have to think a lot yourself. Despite being relatively young...
Lazar Ristic
Axios is a JavaScript library for making HTTP requests, either in the browser or Node.js. Unlike the popular Requests library, Axios is natively promise-based, making it more suitable for modern applications taking advantage of newer JavaScript features, like Promises and the async/await syntax. If you're experienced in web...
Scott Robinson
Web applications typically receive user input in some form - and with any input, validation is important. Making sure that form fields contain valid data, or that they contain any data at all is one of the first checks you can do. When a user uploads files - you'll want...
Monitoring applications remains a critical part of the microservice world. The challenges associated with monitoring microservices are typically unique to your ecosystem and failures can oftentimes be discreet - a small module's failure can go unnoticed for some time. If we look into a more traditional monolithic application, installed as...
Arpendu Kumar Garai
Elasticsearch initially began as a custom search engine. These days, it has gone above and beyond that singular role as it's part of log aggregation stacks, security monitoring, and even as a datastore for performing exploratory analysis. Indices in Elasticsearch are where the data is stored, and there are often...
Sathiya Sarathi Gunasekaran
We oftentimes find ourselves counting the number of days from and to a date. Be it calculating when someone's due to return a book, when a subscription should be renewed, how many days have passed since a notification or when a new event is coming up. In this tutorial, we'll...
Abhilash Kakumanu
In JavaScript, an object is defined as a collection of key-value pairs. An object is also a non-primitive data type. You'll oftentimes need to combine objects into a single one which contains all the individual properties of its constituent parts. This operation is called merging. The two most common ways...
It is imperative to carry out server-side validation when building applications - especially client-facing applications. The reason being, one can never rely on the user’s input alone; as these inputs sometimes contain bogus/malicious data. Client-side validation is a great way to sift through most of the input, but...
Guest Contributor
Notifications provide a great way to engage users of your applications and can be used to provide or solicit feedback. In this tutorial, we will be examining how to send notifications using Node.js and node-notifier. node-notifier is a library for sending cross-platform native notifications in Node JS. Creating a...
Aniuchi Adaobi
© 2013-2024 Stack Abuse. All rights reserved.