<?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: Danish Ali</title>
    <description>The latest articles on DEV Community by Danish Ali (@danishali).</description>
    <link>https://dev.to/danishali</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%2F1689711%2F723a666e-55f3-40f9-860f-dd51216b74b3.jpg</url>
      <title>DEV Community: Danish Ali</title>
      <link>https://dev.to/danishali</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/danishali"/>
    <language>en</language>
    <item>
      <title>My Experience with Twenty: An Open-Source CRM Solution</title>
      <dc:creator>Danish Ali</dc:creator>
      <pubDate>Sun, 27 Oct 2024 09:16:16 +0000</pubDate>
      <link>https://dev.to/danishali/my-experience-with-twenty-an-open-source-crm-solution-41an</link>
      <guid>https://dev.to/danishali/my-experience-with-twenty-an-open-source-crm-solution-41an</guid>
      <description>&lt;p&gt;Recently, I started using &lt;a href="https://twenty.com/" rel="noopener noreferrer"&gt;Twenty&lt;/a&gt;, an open-source CRM designed to help businesses manage customer relationships in a powerful and affordable way. Here’s a quick overview of my experience with it and some of the features I found most useful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Easy to Get Started&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the things I appreciated right away about Twenty was how easy it was to set up and integrate. Being open-source, it’s accessible to anyone, and you have control over customizations, which is a big plus for startups or smaller businesses looking to avoid high monthly costs. The installation was straightforward, and I was able to get the CRM up and running quickly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Modern and User-Friendly Interface&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Twenty’s interface is intuitive and modern. Unlike some CRMs, which can feel cluttered, Twenty keeps things simple with a clean dashboard where you can view and manage customer interactions easily. Tasks like tracking customer communications, adding notes, and setting reminders are all right at your fingertips.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Affordable Solution with Great Flexibility&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Since Twenty is open-source, it offers more flexibility at a lower cost than many traditional CRM systems. You can tailor it to fit your business needs, whether it’s adding specific fields for customer data or creating automated workflows. This flexibility is ideal if you’re working with a limited budget but still want a robust platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Useful Features for Growing Businesses&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Twenty covers most of the essential CRM functionalities, like lead management, deal tracking, and email integration. It also has a built-in analytics feature, which gives insight into customer behavior and helps improve engagement. For small to medium-sized businesses, this feature helps monitor growth and make data-driven decisions without requiring advanced technical skills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Conclusion&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using Twenty has been a refreshing experience. It’s ideal for businesses that want a modern, powerful, and affordable CRM solution. I highly recommend trying Twenty if you’re looking for an easy-to-use CRM with the flexibility to grow with your business!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Integrating Unkey in a React Project: A Step-by-Step Guide</title>
      <dc:creator>Danish Ali</dc:creator>
      <pubDate>Sun, 27 Oct 2024 08:08:58 +0000</pubDate>
      <link>https://dev.to/danishali/integrating-unkey-in-a-react-project-a-step-by-step-guide-586c</link>
      <guid>https://dev.to/danishali/integrating-unkey-in-a-react-project-a-step-by-step-guide-586c</guid>
      <description>&lt;p&gt;When building modern web applications, one key aspect developers often focus on is user experience, especially when it comes to localization, feature flags, and environment configurations. &lt;a href="https://www.unkey.com/" rel="noopener noreferrer"&gt;Unkey&lt;/a&gt; simplifies managing these aspects by offering feature flagging, user segmentation, A/B testing, and environment-based configuration.&lt;/p&gt;

&lt;p&gt;In this post, we'll walk through the process of integrating Unkey into a React application, from setup to implementation. By the end of this guide, you’ll know how to effectively manage features and configurations dynamically using Unkey.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic knowledge of JavaScript and React.&lt;/li&gt;
&lt;li&gt;A React project set up (using Create React App or any other setup).&lt;/li&gt;
&lt;li&gt;An &lt;a href="https://www.unkey.com/" rel="noopener noreferrer"&gt;Unkey account &lt;/a&gt;(free sign-up).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Set Up Unkey&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Create a New Project: Once you've signed up on Unkey, create a new project to get a Project API Key that you'll use to connect your application to Unkey.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Define Feature Flags: Inside Unkey’s dashboard, create a feature flag that will enable or disable a feature in your app. For this example, let’s create a flag called "newFeatureEnabled".&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Install Unkey in Your React Project&lt;/strong&gt;&lt;br&gt;
Install the Unkey JavaScript SDK via npm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install @unkey/sdk
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This SDK will allow you to access Unkey's features directly within your React app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Set Up the Unkey Client&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To configure Unkey in your app, you’ll need to initialize the SDK with your Project API Key. This setup will be placed in a separate configuration file for clean code practices.&lt;/p&gt;

&lt;p&gt;Create a new file unkeyConfig.js in your project’s src folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// src/unkeyConfig.js
import Unkey from '@unkey/sdk';

const unkeyClient = Unkey({
  apiKey: 'YOUR_PROJECT_API_KEY', // Replace with your Unkey Project API Key
  environment: 'development',      // Set this as needed
});

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

&lt;/div&gt;



&lt;p&gt;Make sure to replace 'YOUR_PROJECT_API_KEY' with your actual API Key from the Unkey dashboard.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Implement Feature Flags in Components&lt;/strong&gt;&lt;br&gt;
Let’s demonstrate how to use Unkey’s feature flag to control the visibility of a new feature.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add a Feature Flag Check in the Component: We'll create a simple feature component that renders only if the newFeatureEnabled flag is active.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// src/components/FeatureComponent.js
import React, { useEffect, useState } from 'react';
import unkeyClient from '../unkeyConfig';

const FeatureComponent = () =&amp;gt; {
  const [isFeatureEnabled, setIsFeatureEnabled] = useState(false);

  useEffect(() =&amp;gt; {
    const checkFeatureFlag = async () =&amp;gt; {
      const enabled = await unkeyClient.isEnabled('newFeatureEnabled');
      setIsFeatureEnabled(enabled);
    };
    checkFeatureFlag();
  }, []);

  return (
    &amp;lt;div&amp;gt;
      {isFeatureEnabled ? (
        &amp;lt;p&amp;gt;🎉 New Feature is Live!&amp;lt;/p&amp;gt;
      ) : (
        &amp;lt;p&amp;gt;🚧 New Feature Coming Soon!&amp;lt;/p&amp;gt;
      )}
    &amp;lt;/div&amp;gt;
  );
};

export default FeatureComponent;

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Add the Component to Your App: You can use this component in your main App.js file or wherever you want the feature to appear.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// src/App.js
import React from 'react';
import FeatureComponent from './components/FeatureComponent';

function App() {
  return (
    &amp;lt;div className="App"&amp;gt;
      &amp;lt;h1&amp;gt;Welcome to My App&amp;lt;/h1&amp;gt;
      &amp;lt;FeatureComponent /&amp;gt;
    &amp;lt;/div&amp;gt;
  );
}

export default App;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 5: Updating Feature Flags in Real-Time&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the best parts of using Unkey is its real-time updating. If you change the value of newFeatureEnabled in the Unkey dashboard, it will automatically reflect in your app without needing a redeployment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Use Cases for Unkey&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here are some practical examples of using Unkey in real-world projects:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;A/B Testing: Enable different versions of a feature for segmented users. For instance, you could display a different version of the homepage for returning users to improve engagement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Environment-Based Configurations: Use Unkey to toggle environment configurations, such as enabling debugging tools only for development environments.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Feature Rollouts: Launch a new feature to a subset of users (e.g., 10%) and increase gradually based on user feedback.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Benefits of Using Unkey&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scalability: Unkey provides an easy way to manage and scale feature flags without needing to modify code for each deployment.&lt;/li&gt;
&lt;li&gt;Speed: Real-time updates mean you can test and enable features quickly without long deployment cycles.&lt;/li&gt;
&lt;li&gt;User Control: Unkey enables you to target specific groups of users, making it easy to run experiments or deploy features to specific audiences.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Unkey is a powerful tool for managing features, A/B testing, and configurations in React applications. By following the steps above, you can easily integrate Unkey and control feature visibility dynamically. This approach enhances user experience, speeds up development, and allows you to experiment with features before full-scale launches.&lt;/p&gt;

&lt;p&gt;For further customization and advanced integrations, check out the &lt;a href="https://www.unkey.com/docs/introduction" rel="noopener noreferrer"&gt;Unkey documentation&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>productivity</category>
      <category>learning</category>
    </item>
    <item>
      <title>Embracing Passwordless Authentication: Passkeys and Hanko</title>
      <dc:creator>Danish Ali</dc:creator>
      <pubDate>Mon, 14 Oct 2024 22:20:33 +0000</pubDate>
      <link>https://dev.to/danishali/embracing-passwordless-authentication-passkeys-and-hanko-abl</link>
      <guid>https://dev.to/danishali/embracing-passwordless-authentication-passkeys-and-hanko-abl</guid>
      <description>&lt;p&gt;In an increasingly digital world, secure access to services is more critical than ever. Traditional passwords are vulnerable to hacks, data breaches, and phishing attacks. Enter passkeys and Hanko—modern solutions that simplify and strengthen how we authenticate online.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Are Passkeys? 🔑
&lt;/h2&gt;

&lt;p&gt;Passkeys are the next step in secure authentication, eliminating the need for passwords altogether.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fxg0n1fb17e52e8lylxkx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fxg0n1fb17e52e8lylxkx.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How They Work: Instead of relying on a password, passkeys use a public-private key pair. The private key stays securely on your device, while the public key is shared with the service you are logging into.&lt;/p&gt;

&lt;p&gt;Biometric Login: Passkeys often use biometrics like Face ID or fingerprints to authenticate, creating a seamless and secure login experience.&lt;/p&gt;

&lt;p&gt;This means no more worrying about stolen passwords or phishing attempts. With passkeys, you simply authenticate with a fingerprint or face scan!&lt;/p&gt;

&lt;p&gt;Hanko: Passwordless Authentication Made Simple 🛠️&lt;br&gt;
Hanko is an open-source platform that enables developers to integrate passwordless authentication using passkeys and WebAuthn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Hanko?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Secure: No passwords mean a reduced risk of hacks or breaches.&lt;/li&gt;
&lt;li&gt;User-Friendly: Hanko enables smooth logins using biometrics or security keys.&lt;/li&gt;
&lt;li&gt;Open-Source: Fully customizable to fit the needs of your app or platform.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hanko helps businesses implement passkeys effortlessly, making the transition to passwordless authentication smoother and safer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fm3fzjxovxqhim7e07wpf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fm3fzjxovxqhim7e07wpf.png" alt="Image description" width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Key Benefits of Going Passwordless ✅&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better Security: No passwords = no phishing.&lt;/li&gt;
&lt;li&gt;Improved User Experience: Fast and easy login with biometrics.&lt;/li&gt;
&lt;li&gt;Future-Proof: As passwords fade, passkeys will become the standard for authentication.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In summary, passkeys and Hanko represent the future of secure, passwordless authentication. They're not only more secure but also provide a smooth, hassle-free experience for users. Ready to embrace the future of authentication? It’s time to leave passwords behind!&lt;/p&gt;

&lt;p&gt;An example of passwordless authentication with passkeys.&lt;/p&gt;

&lt;p&gt;Hanko makes it easy to integrate passkey authentication into your app.&lt;/p&gt;

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