How to Use JWT Tokens for Authentication in Node.jsAuthentication is the process of verifying the identity of users. We don't want to allow unauthorized users to access our private resources. In this blog, we will use a JWT token-based mechanism for authentication. Setting up a basic Express applicat...5 min read·ajay020.hashnode.devMar 6, 2024
What is a Promise and how to use it in javascript?Understanding how Promise simplifies asynchronous programming and enhances code readability. Learn the core concepts, syntax,5 min read·ajay020.hashnode.devNov 13, 2023
What are custom properties in CSS?In CSS3, a feature called custom properties or CSS variables was introduced. This feature enables developers to define variables that can be reused. In a large project, we apply the same styles in many places, like a color used in many places. Now, s...2 min read·ajay020.hashnode.devJul 27, 2023
Connecting Express (Node.js) to MySQL and Performing CRUD OperationsMaking applications communicate with a database is a common requirement in modern web development. MySQL is a popular database that is used with Node.js. In this blog, We will see how to connect a Node.js application to a MySQL database and perform C...7 min read·ajay020.hashnode.devJul 24, 2023
Create a web server with Nodejs and ExpressIntroduction Web server forms the backbone of any web application, facilitating the communication between the client(such as a browser) and the backend infrastructure. While there are numerous technologies available to build web servers, Node.js has ...5 min read·ajay020.hashnode.devJul 21, 2023