Mohit Supoliamohit345.hashnode.dev·3 hours agoUnderstanding JSON Web Tokens (JWT)In today’s world of web development, securely managing user authentication is critical. One of the most popular methods for handling this is using JSON Web Tokens (JWT). In this article, we’ll break down what JWT is, why it’s so useful, and how to im...DiscussJSON Web Tokens (JWT)
Swarnabha Chatterjeeswarnabhaspeaks.hashnode.dev·Sep 8, 2024Express.js Middleware Explained: Everything You Need to KnowIntroduction As a Node.js developer, you've probably heard the term "middleware" thrown around quite a bit, especially if you've worked with Express.js. But what exactly are middlewares, and why are they so important? Think of them as the secret agen...Discuss·14 likes·64 readsNode.js
Aditya Vermaadityabverma.hashnode.dev·Sep 8, 2024Maximizing Multer: Advanced Configuration and Tips for Powerful File UploadsMany of you might be using multer to store the files uploaded by the user first in your server and then in some cloud to provide atomicity in your web applications. For this you might me using multer or some of you might be uploading the files direct...Discuss·1 like·35 readsFileUploads
Nirmal Sankalananirmalsankalana.hashnode.dev·Sep 8, 2024How to Use .env with ES6 ModulesWhen building Node.js applications, it's common to store sensitive information like database credentials or API keys in environment variables. This is where the .env file, managed by the dotenv package, comes in handy. However, when using ES6 modules...Discuss·10 likesdotenv
Gaurav Sharmamakesalesforceeasy.hashnode.dev·Sep 7, 2024Building a Simple Book Management API with Express and JSON HandlingIn this example, we will design a simple HTTP server for managing books in a library, and explore various HTTP status codes. You'll learn how to implement middleware and test your API using Postman to ensure it's functioning correctly. By the end of ...Discussmakethingssimple
Azhar Hussainblog.azharhussain.net·Sep 6, 2024Building a RESTful Express TypeScript API with Prisma and AuthenticationIn this blog post, I’ll guide you through building a RESTful API using Express.js and TypeScript, along with Prisma ORM for database operations and JWT for user authentication. This API includes CRUD operations for posts and user authentication funct...Discuss·43 readsExpress.js
SANKALP HARITASHsankalp-haritash.hashnode.dev·Sep 4, 2024Understanding the V8 Architecture: The Heart of Modern JavaScriptWhen I first started working with JavaScript in-depth, especially within the context of Node.js, I quickly realized the importance of understanding the underlying engine that powers it: V8. Developed by Google, V8 is an open-source JavaScript engine ...Discuss·45 readsv8 engine
Ishika kesarwaniishikkkkaaaa.hashnode.dev·Sep 3, 2024Unlock the Power of MERN: The Ultimate Stack for Modern Web Development 🚀Are you ready to dive into the dynamic world of web development? Whether you're building a sleek new app or enhancing an existing project, understanding the MERN stack is crucial. This all-star lineup of technologies empowers developers to create rob...DiscussDatabases
Adedoyin Emmanuel Adeniyiadedoyin.hashnode.dev·Sep 3, 2024Deploying An Express API On CPanelDeploying an Express API on cPanel can be smooth if you're familiar with both cPanel and Node.js environments. cPanel, primarily known for hosting PHP-based applications, also supports Node.js, allowing you to run server-side JavaScript applications ...Discuss·1 likedeployment
Antony Romariomern112dev.hashnode.dev·Sep 1, 2024From Zero to Hero: Creating a MERN CRUD ApplicationFind the best article for the RESTapi CRUDnpm init -y npm i express npm i esm npm i nodemon -D npm i dotenv create server.js make script -> "dev":"nodemon -r esm <file name>" -> for production script: "start": "node -r esm server.js" follow the model...DiscussExpress.js