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...Mar 6, 2024 · 5 min readajay020.hashnode.dev
What is a Promise and how to use it in javascript?What is a promise? A Promise in JavaScript is like a placeholder for a value that might not be available yet. It's a way to deal with operations that take some time, like fetching data from the internet or reading a file. Instead of blocking the whol...Nov 13, 2023 · 5 min readajay020.hashnode.dev
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...Jul 27, 2023 · 2 min readajay020.hashnode.dev
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...Jul 24, 2023 · 7 min readajay020.hashnode.dev
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 ...Jul 21, 2023 · 5 min readajay020.hashnode.dev