Redis as primary database in nodejs
As a developer working on a project, there are a lot of options to choose from when it comes to databases. Without a second thought, the most popular and widely used types would be Relational(SQL) and NoSQL. But still, sometimes neither SQL nor NoSQL meets our exact requirements. In that case, we may need to […]
Rest API input validation in nodejs
Most of the time when we are developing a Rest API it’s often a requirement to accept user inputs in the form of a request body. To ensure that our API works as intended the input data must conform to a specific predefined format. Sometimes the erroneous inputs provided by our users are unintentional while […]
Nodejs API best practices
In this tutorial, we will be looking at some of the nodejs API best practices that we should be keeping in mind while building our Nodejs REST API. Our main focus in this post will be to make our API secure, scalable, and optimized. So let’s get started, shall we? Handle errors gracefully One of […]
JWT authentication in nodejs with example
In this tutorial, we will be looking at how to add JWT authentication in a nodejs application. By definition, JSON Web Tokens are an open, industry-standard RFC 7519 method for representing claims securely between two parties. So let’s not waste any more time and
Cloudinary in nodejs API integration to upload an image
In this tutorial, we will be learning how to integrate Cloudinary image upload API in nodejs. If you remember, previously in one of our posts, we discussed how we can upload a file in nodejs and if you haven’t checked it out
Express file upload
In this tutorial, we will be walking you through an example of how to develop a simple express API for file upload. Sometimes it happens while developing an express API we may need file upload functionality. Although there are several packages available for nodejs eco-system. However, for this tutorial, we will be focusing