<?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: Sahil khatiwada</title>
    <description>The latest articles on DEV Community by Sahil khatiwada (@sahilkhatiwada_official).</description>
    <link>https://dev.to/sahilkhatiwada_official</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%2F1252176%2F5e471c9d-4d4b-445b-a1fa-12eae08dc014.jpeg</url>
      <title>DEV Community: Sahil khatiwada</title>
      <link>https://dev.to/sahilkhatiwada_official</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sahilkhatiwada_official"/>
    <language>en</language>
    <item>
      <title>🚀 @backend-suite/* — A modular, TypeScript-first monorepo to solve core backend problems: auth, rate-limiting, logging, queues, schema sync &amp; more. Built with TurboRepo + PNPM. Npm package link:- https://www.npmjs.com/package/backend-suite</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Thu, 17 Jul 2025 06:21:33 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/backend-suite-a-modular-typescript-first-monorepo-to-solve-core-backend-problems-auth-302b</link>
      <guid>https://dev.to/sahilkhatiwada_official/backend-suite-a-modular-typescript-first-monorepo-to-solve-core-backend-problems-auth-302b</guid>
      <description></description>
    </item>
    <item>
      <title>🌟 A New Adventure Begins! 🛵🍕</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Wed, 15 Jan 2025 03:07:09 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/a-new-adventure-begins-1mgj</link>
      <guid>https://dev.to/sahilkhatiwada_official/a-new-adventure-begins-1mgj</guid>
      <description>&lt;p&gt;I’m thrilled to announce that I’ve started working on a Food Delivery App using the powerful MERN Stack! 🚀 My focus is to create an app that’s:&lt;/p&gt;

&lt;p&gt;✔️ User-Friendly – Easy to navigate and enjoyable to use.&lt;br&gt;
✔️ Secure – With robust user authentication for a safe experience.&lt;br&gt;
✔️ Seamless – Delivering smooth performance from browsing to ordering.&lt;/p&gt;

&lt;p&gt;This project is not just about coding – it’s about pushing my limits, growing as a developer, and creating something meaningful. I’m excited to share my journey with you, and I’d love to hear your feedback, ideas, or suggestions along the way. Let’s learn and build together! 💡😊&lt;/p&gt;

&lt;p&gt;Stay tuned for updates as I bring this vision to life!&lt;/p&gt;

</description>
      <category>react</category>
      <category>node</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>🌟 5 JavaScript Tricks Every Developer Should Know!</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Thu, 19 Dec 2024 03:38:34 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/5-javascript-tricks-every-developer-should-know-2im</link>
      <guid>https://dev.to/sahilkhatiwada_official/5-javascript-tricks-every-developer-should-know-2im</guid>
      <description>&lt;p&gt;Hey &lt;strong&gt;Devs!&lt;/strong&gt; 👋&lt;br&gt;
&lt;strong&gt;JavaScript&lt;/strong&gt; is powerful, and sometimes, small tricks can make a big difference in writing clean and efficient code. Here are  &lt;strong&gt;5&lt;/strong&gt; awesome JavaScript tricks you might not know (or maybe forgot)! 🤓&lt;/p&gt;

&lt;p&gt;1️⃣ Optional Chaining (?.)&lt;br&gt;
Access deeply nested properties without worrying about undefined.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const user = { profile: { name: "Sahil" } };

// Without optional chaining
const userName = user.profile ? user.profile.name : undefined;

// With optional chaining 🎉
const userName = user?.profile?.name; // 'Sahil'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;💡 Why it’s useful: No more crashing apps when accessing nested properties!&lt;/p&gt;

&lt;p&gt;2️⃣ Nullish Coalescing (??)&lt;br&gt;
Provide a fallback value only for null or undefined.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const value = null;
const result = value ?? "Default Value"; // 'Default Value'

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

&lt;/div&gt;



&lt;p&gt;💡 Why it’s useful: Avoid using || when 0, false, or '' are valid values.&lt;/p&gt;

&lt;p&gt;3️⃣ Destructuring with Defaults&lt;br&gt;
Set default values when destructuring objects.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const settings = { theme: "dark" };
const { theme = "light", layout = "grid" } = settings;

console.log(theme);  // 'dark'
console.log(layout); // 'grid'

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

&lt;/div&gt;



&lt;p&gt;💡 Why it’s useful: Makes your code clean and concise!&lt;/p&gt;

&lt;p&gt;4️⃣ Array .flat()&lt;br&gt;
Flatten nested arrays with a single method.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const numbers = [1, [2, [3, [4]]]];
const flatNumbers = numbers.flat(2);

console.log(flatNumbers); // [1, 2, 3, [4]]

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

&lt;/div&gt;



&lt;p&gt;💡 Why it’s useful: Easy handling of multi-dimensional arrays.&lt;/p&gt;

&lt;p&gt;5️⃣ Dynamic Object Keys&lt;br&gt;
Use expressions to dynamically set object keys.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const key = "name";
const user = { [key]: "Sahil" };

console.log(user); // { name: 'Sahil' }

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

&lt;/div&gt;



&lt;p&gt;💡 Why it’s useful: Perfect for dynamic use cases like creating objects from API responses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Share Your Favorite Tricks!&lt;/strong&gt;&lt;br&gt;
Have a favorite JavaScript trick? Drop it in the comments below! Let’s level up our JavaScript game together. 🚀&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>learning</category>
      <category>node</category>
      <category>coding</category>
    </item>
    <item>
      <title>[Boost]</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Tue, 17 Dec 2024 12:28:20 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/-519f</link>
      <guid>https://dev.to/sahilkhatiwada_official/-519f</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/madgan95" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1624058%2Ff865c284-6ea7-49e1-b284-edc156c245af.png" alt="madgan95"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/madgan95/ssl-certificate-complete-guide-3naf" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;SSL Certificate: Complete Guide&lt;/h2&gt;
      &lt;h3&gt;Madhav Ganesan ・ Dec 17&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#programming&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#basic&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>🎯 Day 2/100: Backend Setup Complete for My Task Management App</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Tue, 17 Dec 2024 03:22:35 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/day-2100-backend-setup-complete-for-my-task-management-app-3ed6</link>
      <guid>https://dev.to/sahilkhatiwada_official/day-2100-backend-setup-complete-for-my-task-management-app-3ed6</guid>
      <description>&lt;p&gt;I’m excited to share that I’ve successfully set up the backend for my Task Management Application using Express.js 🎉.&lt;/p&gt;

&lt;p&gt;1️⃣ Configured Express.js Middleware:&lt;br&gt;
Used express.json() to parse JSON request bodies.&lt;/p&gt;

&lt;p&gt;2️⃣ Implemented Modular Routing:&lt;br&gt;
Set up separate route files for users (users.js) and tasks (tasks.js).&lt;br&gt;
Ensured a clean and maintainable codebase with dynamic routing.&lt;/p&gt;

&lt;p&gt;3️⃣ Established Database Connection:&lt;br&gt;
Connected to MongoDB using Mongoose via a custom connectDB function.&lt;br&gt;
Incorporated error handling for reliable database management.&lt;/p&gt;

&lt;p&gt;4️⃣ Environment Configuration:&lt;br&gt;
Leveraged the dotenv package to manage environment variables.&lt;br&gt;
Enabled flexible configurations for different environments (e.g., development, production).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbcbiqyox3c2ro7lb8s0h.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbcbiqyox3c2ro7lb8s0h.jpg" alt="Image description" width="800" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With these steps, the backend is now fully equipped to handle API requests and seamlessly communicate with the database.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1askaszokre6678caiik.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1askaszokre6678caiik.jpg" alt="Image description" width="800" height="752"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next Steps:&lt;br&gt;
Define database models for users and tasks.&lt;/p&gt;

&lt;p&gt;Build API endpoints to handle core functionality like CRUD operations.&lt;br&gt;
This journey is shaping up to be both challenging and rewarding. I’d love to hear any tips or suggestions you might have to enhance my backend development process! 🚀&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>node</category>
      <category>react</category>
    </item>
    <item>
      <title>🎯 Day 3/100: Database Models and API Endpoints</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Mon, 16 Dec 2024 18:41:00 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/day-3100-database-models-and-api-endpoints-2hi</link>
      <guid>https://dev.to/sahilkhatiwada_official/day-3100-database-models-and-api-endpoints-2hi</guid>
      <description>&lt;p&gt;Today, I focused on defining the database models and creating essential API endpoints for my Task Management Application backend. This step is crucial in establishing the app's core functionality.&lt;/p&gt;

&lt;p&gt;Here’s What I Accomplished:&lt;/p&gt;

&lt;p&gt;1️⃣ User Model:&lt;br&gt;
Designed a schema to handle user-related data, including fields like name, email, and password.&lt;br&gt;
Added timestamps to track user creation and updates.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7u172wfx6ezqymjnwxho.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7u172wfx6ezqymjnwxho.jpg" alt="Image description" width="800" height="885"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2️⃣ Task Model:&lt;br&gt;
Defined a schema with fields for title, description, due date, priority, Status and a reference to the associated user.&lt;br&gt;
Included priority levels (Low, Medium, High) to enhance task categorization.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6w04vq0qrmudnotefwp2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6w04vq0qrmudnotefwp2.jpg" alt="Image description" width="800" height="1280"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3️⃣ API Endpoints:&lt;br&gt;
Created endpoints to handle CRUD operations for users and tasks register only .&lt;br&gt;
Ensured proper validation and error handling to maintain data integrity.&lt;br&gt;
Enabled relational data handling by populating user references in task queries.&lt;/p&gt;

&lt;p&gt;Next Steps:&lt;br&gt;
Implement user authentication using JWT to secure the API.&lt;br&gt;
Build advanced features like task filtering, sorting, and pagination.&lt;/p&gt;

&lt;p&gt;This progress marks an important milestone in the journey of building a fully functional backend. I’m learning a lot and excited to tackle the challenges ahead 🚀.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>node</category>
      <category>database</category>
      <category>backend</category>
    </item>
    <item>
      <title>🎯Starting My 100-Day Coding Challenge with Express.js</title>
      <dc:creator>Sahil khatiwada</dc:creator>
      <pubDate>Mon, 16 Dec 2024 12:42:20 +0000</pubDate>
      <link>https://dev.to/sahilkhatiwada_official/starting-my-100-day-coding-challenge-with-expressjs-4lj3</link>
      <guid>https://dev.to/sahilkhatiwada_official/starting-my-100-day-coding-challenge-with-expressjs-4lj3</guid>
      <description>&lt;p&gt;🎯 &lt;strong&gt;Day 1/100&lt;/strong&gt;: Starting My 100-Day Coding Challenge with Express.js, bcryptjs, cors, jsonwebtoken, mongoose,nodemon and Yup!&lt;br&gt;
I'm kicking off an exciting journey to develop a Task Management Application using Express.js, bcryptjs, cors , jsonwebtoken, mongoose,nodemon and Yup. 🚀 .Over the next 100 days,I'll be documenting my progress, challenges, and learnings here on LinkedIn.&lt;br&gt;
Today’s Achievements:&lt;/p&gt;

&lt;p&gt;✅ Defined the project scope:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Users can create, update, delete, and manage tasks.&lt;/li&gt;
&lt;li&gt;Features will include priorities, deadlines, and task categories.&lt;/li&gt;
&lt;li&gt;Focusing on the backend only to master server-side logic and database integration.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;✅ Outlined the app’s workflow and backend structure to guide development.&lt;/p&gt;

&lt;p&gt;📌 Next Steps:&lt;br&gt;
Setting up the development environment.&lt;br&gt;
Initializing the project repository and preparing the backend structure tomorrow.&lt;/p&gt;

&lt;p&gt;I’m excited to learn and grow through this challenge. If you have any advice or resources on Express.js or backend development, I’d love to hear from you! Let’s build something amazing together 🚀💻&lt;/p&gt;

</description>
      <category>codingchallenges</category>
      <category>backend</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
