<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abhijeet Jadhav</title>
    <description>The latest articles on DEV Community by Abhijeet Jadhav (@abhijadhavin).</description>
    <link>https://dev.to/abhijadhavin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F331935%2Fc3f5abe7-73d8-45fd-88dd-76087e257f95.jpg</url>
      <title>DEV Community: Abhijeet Jadhav</title>
      <link>https://dev.to/abhijadhavin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhijadhavin"/>
    <language>en</language>
    <item>
      <title>Production-Ready Express 5 + TypeScript Project Setup</title>
      <dc:creator>Abhijeet Jadhav</dc:creator>
      <pubDate>Sat, 27 Sep 2025 09:17:29 +0000</pubDate>
      <link>https://dev.to/abhijadhavin/production-ready-express-5-typescript-project-setup-1cfl</link>
      <guid>https://dev.to/abhijadhavin/production-ready-express-5-typescript-project-setup-1cfl</guid>
      <description>&lt;p&gt;&lt;strong&gt;Initial Setup&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Create project directory
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mkdir my-express-api
cd my-express-api
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
# Initialize npm project
npm init -y

# Install Express 5 and core dependencies
npm install express@^5.0.0
npm install cors helmet morgan compression dotenv
npm install bcrypt jsonwebtoken express-rate-limit
npm install express-validator

# Install TypeScript and development dependencies
npm install -D typescript @types/node @types/express
npm install -D @types/cors @types/helmet @types/morgan
npm install -D @types/compression @types/bcrypt @types/jsonwebtoken
npm install -D @types/express-rate-limit

# Install linting and formatting tools
npm install -D eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin
npm install -D prettier eslint-config-prettier eslint-plugin-prettier
npm install -D @eslint/js typescript-eslint

# Install testing tools
npm install -D jest @types/jest ts-jest supertest @types/supertest

# Install development tools
npm install -D tsx nodemon concurrently cross-env

# Install additional production utilities
npm install winston express-async-errors http-status-codes
npm install -D @types/http-status-codes

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Project Structure&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;my-express-api/
├── src/
│   ├── controllers/         # Route handlers
│   ├── middleware/          # Custom middleware
│   ├── models/             # Data models/schemas
│   ├── routes/             # Route definitions
│   ├── services/           # Business logic
│   ├── types/              # TypeScript type definitions
│   ├── utils/              # Utility functions
│   ├── config/             # Configuration files
│   └── app.ts              # Express app setup
├── tests/                  # Test files
├── dist/                   # Compiled JavaScript (auto-generated)
├── docs/                   # API documentation
├── .env                    # Environment variables
├── .env.example           # Environment variables template
├── package.json
├── tsconfig.json
├── eslint.config.js
├── prettier.config.js
├── jest.config.js
├── docker-compose.yml
├── Dockerfile
└── README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>backend</category>
      <category>typescript</category>
      <category>tutorial</category>
      <category>node</category>
    </item>
    <item>
      <title>React code create dynamic menu navigation</title>
      <dc:creator>Abhijeet Jadhav</dc:creator>
      <pubDate>Thu, 12 Jan 2023 05:10:15 +0000</pubDate>
      <link>https://dev.to/abhijadhavin/react-code-create-dynamic-menu-navigation-4p8k</link>
      <guid>https://dev.to/abhijadhavin/react-code-create-dynamic-menu-navigation-4p8k</guid>
      <description>&lt;p&gt;Here is an example of how you might use React to create a dynamic navigation menu:&lt;/p&gt;

&lt;p&gt;First, you would need to create a component that represents the menu. You might call this component "NavMenu". Inside the component, you would define the structure and styling for the menu, as well as the logic for rendering the different menu items.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from 'react';

const NavMenu = ({ menuItems }) =&amp;gt; {
  return (
    &amp;lt;nav&amp;gt;
      &amp;lt;ul&amp;gt;
        {menuItems.map((item) =&amp;gt; (
          &amp;lt;li key={item.id}&amp;gt;
            &amp;lt;a href={item.link}&amp;gt;{item.label}&amp;lt;/a&amp;gt;
          &amp;lt;/li&amp;gt;
        ))}
      &amp;lt;/ul&amp;gt;
    &amp;lt;/nav&amp;gt;
  );
};

export default NavMenu;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, the menuItems prop is passed to the component and it expects an array of menu items. Each item should have an "id" , "label" and "link" properties. These properties will be used to generate the structure of the menu.&lt;/p&gt;

&lt;p&gt;Now you can use this component in other parts of your application and pass the menuItems prop with the desired data for rendering.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import NavMenu from './NavMenu';

const menuItems = [
  { id: 1, label: 'Home', link: '/' },
  { id: 2, label: 'About', link: '/about' },
  { id: 3, label: 'Contact', link: '/contact' },
];

const App = () =&amp;gt; {
  return (
    &amp;lt;div&amp;gt;
      &amp;lt;NavMenu menuItems={menuItems} /&amp;gt;
    &amp;lt;/div&amp;gt;
  );
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is a basic example, in a real-world application, you might want to add more features such as active state handling, sub-menus, and more, but this example should give you a good starting point for building a dynamic navigation menu with React.&lt;/p&gt;

</description>
      <category>gratitude</category>
    </item>
    <item>
      <title>[MongoDB Submission Post Placeholder Title]</title>
      <dc:creator>Abhijeet Jadhav</dc:creator>
      <pubDate>Wed, 29 Dec 2021 03:17:43 +0000</pubDate>
      <link>https://dev.to/abhijadhavin/mongodb-submission-post-placeholder-title-49gn</link>
      <guid>https://dev.to/abhijadhavin/mongodb-submission-post-placeholder-title-49gn</guid>
      <description>&lt;h3&gt;
  
  
  Overview of My Submission
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;[Note:] # (Be sure to link to any open source projects that are using your workflow!)&lt;/p&gt;

&lt;p&gt;[Note:] # Screenshots/demo videos are encouraged!&lt;/p&gt;

&lt;p&gt;[Reminder]: # (Submissions are due on January 13th, 2022 @ 11:59 PM PT/2 AM ET on January 14th, 2022/6 AM UTC on January 14th, 2022).&lt;/p&gt;

</description>
      <category>atlashackathon</category>
    </item>
    <item>
      <title>Use of child process core node js package to handle asynchronous code execution.</title>
      <dc:creator>Abhijeet Jadhav</dc:creator>
      <pubDate>Thu, 20 Feb 2020 04:10:02 +0000</pubDate>
      <link>https://dev.to/abhijadhavin/use-of-child-process-core-node-js-package-to-handle-asynchronous-code-execution-1e51</link>
      <guid>https://dev.to/abhijadhavin/use-of-child-process-core-node-js-package-to-handle-asynchronous-code-execution-1e51</guid>
      <description>&lt;p&gt;This sample example of the use of the child process to handle the asynchronous code of node js. We all know we used promises and async-await javascript primitive method to handle the asynchronous code execution but I have found another way to handle asynchronous code without using promises. If you go through child.js I have used two functions to take some time to execution but we want two functions to process data for next synchronous process execution so I have used the fork process for execution in the background and wait for message event observer to get process execution data. &lt;/p&gt;

&lt;p&gt;File: parent.js&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WzFMHVet--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/c16b25ran8eujnrrgl4b.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WzFMHVet--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/c16b25ran8eujnrrgl4b.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;File: child.js&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fs_iIoJj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3oa82j330o4fa5ngkq15.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fs_iIoJj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3oa82j330o4fa5ngkq15.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am trying to find out the logic if without using promises and async-await javascript primitive method can we execution synchronous. Kindly if any another example above scenarios.  &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Handle async operations in parallel in Nodejs</title>
      <dc:creator>Abhijeet Jadhav</dc:creator>
      <pubDate>Mon, 17 Feb 2020 04:18:35 +0000</pubDate>
      <link>https://dev.to/abhijadhavin/handle-async-operations-in-parallel-call-in-nodejs-34cg</link>
      <guid>https://dev.to/abhijadhavin/handle-async-operations-in-parallel-call-in-nodejs-34cg</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fCJLP56N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/87gprqqz4jqvv3s15qxz.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fCJLP56N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/87gprqqz4jqvv3s15qxz.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the best example to handle async operations parallel in Nodejs. In this example, we have used the promises primitive datatype of javascript to parallel call while async operation. If you execute this script then output come after 3 seconds. &lt;/p&gt;

&lt;p&gt;if check-in script apifirst take 2 seconds in execution and apiSecond take 3 seconds if you use the computer language like synchronized operation process to execute then it takes 2 + 3 = 5 seconds to execute output but in the case of NodeJs it only takes 3 seconds.  &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
