<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tushar Kale TK on Medium]]></title>
        <description><![CDATA[Stories by Tushar Kale TK on Medium]]></description>
        <link>https://medium.com/@tusharkale?source=rss-d36e0239acf3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pcMifeNCfI_6YAwqSKdkYg.png</url>
            <title>Stories by Tushar Kale TK on Medium</title>
            <link>https://medium.com/@tusharkale?source=rss-d36e0239acf3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 08:23:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tusharkale/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Every Developer Should Have Their Own Portfolio Website]]></title>
            <link>https://tusharkale.medium.com/why-every-developer-should-have-their-own-portfolio-website-80e0a15bd541?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/80e0a15bd541</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[web-developer]]></category>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 20:47:44 GMT</pubDate>
            <atom:updated>2025-01-13T20:47:44.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aV1HeCUMWC9NsldJKGTZ6A.jpeg" /><figcaption>Software Engineer’s portfolio</figcaption></figure><p>In today’s competitive tech industry, standing out is essential. A developer’s portfolio is more than just a website; it’s a dynamic showcase of skills, projects, and professional experience that can make a lasting impression. Here are the reasons why having your own portfolio is a must for every developer:</p><h3>1. Create a Strong Impression During Interviews</h3><p>When an interviewer asks, <em>“Do you have any questions or something to share?”</em> imagine confidently presenting your portfolio. This is a golden opportunity to:</p><ul><li><strong>Showcase Your Work</strong>: Demonstrate the applications you’ve built, the problems you’ve solved, and the technologies you’ve mastered.</li><li><strong>Highlight Professional Experience</strong>: Visualize your career journey and accomplishments with real-world examples.</li></ul><p>Such a presentation can leave a powerful impression on the interviewer, adding a valuable +1 to your overall evaluation. It sets you apart as someone who is not only skilled but also proud and organized about their work.</p><h3>2. Impress at the End of Your Interview</h3><p>Wrapping up an interview with a portfolio showcase can be the cherry on top. It offers the interviewer:</p><ul><li>A tangible look at your capabilities.</li><li>Insight into your creativity and dedication.</li></ul><p>This unexpected move can leave them amazed and make you a memorable candidate in their minds.</p><h3>3. Enhance Your Global Visibility</h3><p>A portfolio is your digital presence on the web, giving you visibility worldwide. This opens up opportunities to:</p><ul><li><strong>Attract Freelance Projects</strong>: Showcase your skills and completed work to potential clients or freelancing companies.</li><li><strong>Build Your Brand</strong>: Establish yourself as a competent and professional developer in your niche.</li></ul><h3>4. Motivate and Encourage Yourself</h3><p>Maintaining a portfolio is not just about showcasing your work to others; it’s also a source of personal motivation:</p><ul><li><strong>Track Your Growth</strong>: Witness your journey as a developer, from your early projects to your current achievements.</li><li><strong>Encourage Creativity</strong>: A well-designed portfolio reflects your personality and pushes you to learn and innovate continuously.</li></ul><h3>5. Flex Your Skills to Colleagues and Bosses</h3><p>Your portfolio is also a great way to:</p><ul><li>Share your accomplishments with colleagues and supervisors.</li><li>Demonstrate your contributions to projects and teams.</li></ul><p>Whether during performance reviews or casual conversations, your portfolio speaks volumes about your dedication and expertise.</p><h3>6. Showcase Your Work to the World</h3><p>Ultimately, your portfolio is the gateway to presenting your work to the world. It’s a reflection of your passion, professionalism, and creativity. Through it, you can:</p><ul><li>Gain recognition.</li><li>Build trust with clients, employers, and collaborators.</li></ul><h3>Conclusion</h3><p>As a developer, having your own portfolio is not just an option; it’s a necessity. It’s a versatile tool that helps you leave a lasting impression in interviews, expands your global reach, and keeps you motivated. Beyond that, it’s a way to flex your hard work and dedication to those around you.</p><p>Start building your portfolio today — it’s your gateway to showcasing your talent and unlocking countless opportunities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80e0a15bd541" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Why Coders Should Learn a Musical Instrument”]]></title>
            <link>https://tusharkale.medium.com/why-coders-should-learn-a-musical-instrument-5ac3ae15114b?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ac3ae15114b</guid>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 19:40:44 GMT</pubDate>
            <atom:updated>2024-11-25T19:40:44.204Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Boosts Creativity</h3><ul><li>Playing an instrument enhances creative thinking, which is essential for innovative coding and problem-solving. It trains your brain to approach challenges in new and unconventional ways.</li></ul><h3>2. Improves Cognitive Skills</h3><ul><li>Music involves patterns, logic, and rhythm, much like programming. Learning an instrument sharpens your memory, focus, and attention to detail, which translates well to coding tasks.</li></ul><h3>3. Reduces Stress</h3><ul><li>Programming can be mentally exhausting. Playing an instrument provides a relaxing outlet and helps reduce stress, enhancing your overall mental health and productivity.</li></ul><h3>4. Enhances Problem-Solving</h3><ul><li>Learning to play music involves overcoming challenges like mastering complex rhythms or techniques. This experience mirrors debugging in coding and fosters persistence and patience.</li></ul><h3>5. Strengthens Discipline and Time Management</h3><ul><li>Regular practice builds discipline. Balancing music with coding helps you manage time effectively, ensuring you can prioritize tasks without burnout.</li></ul><h3>6. Encourages Collaboration</h3><ul><li>Playing music often involves teamwork (e.g., bands or ensembles). This improves your ability to collaborate and communicate, essential for teamwork in software development.</li></ul><h3>7. Breaks the Routine</h3><ul><li>Coding can become monotonous. Music offers a refreshing change, keeping your mind engaged and preventing burnout.</li></ul><h3>8. Increases Neuroplasticity</h3><ul><li>Playing an instrument rewires your brain and increases neuroplasticity, improving your ability to learn new skills, whether it’s a new programming language or a technology stack.</li></ul><h3>9. Enhances Emotional Expression</h3><ul><li>Music allows you to express emotions, something coding doesn’t often provide. This emotional outlet can make you more empathetic and well-rounded in your professional and personal life.</li></ul><h3>10. Hobby for Life</h3><ul><li>Unlike coding, which evolves with trends and technology, music is timeless. Learning an instrument gives you a lifelong skill that remains relevant and enjoyable.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ac3ae15114b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Importance of Accessibility]]></title>
            <link>https://tusharkale.medium.com/importance-of-accessibility-6986bf4987ef?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6986bf4987ef</guid>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Fri, 02 Feb 2024 21:00:33 GMT</pubDate>
            <atom:updated>2024-02-02T21:05:59.264Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*WrouhtyjDq_RxsGY_aomAA.jpeg" /><figcaption>Completeness</figcaption></figure><p>Accessibility in web application development is crucial for several reasons:</p><ol><li>Inclusive User Experience: Accessibility ensures that individuals with disabilities can use and navigate web applications, providing an inclusive experience for everyone.</li><li>Legal and Regulatory Compliance: Many countries and regions have regulations and standards (e.g., WCAG) that mandate web accessibility. Adhering to these guidelines helps developers comply with legal requirements.</li><li>Wider User Base: By making web applications accessible, developers expand their user base to include people with various abilities. This inclusivity leads to a larger and more diverse audience.</li><li>Enhanced Usability for Everyone: Accessibility features often improve the overall usability of a web application for all users, not just those with disabilities.</li><li>Search Engine Optimization (SEO): Many accessibility practices align with SEO best practices, contributing to improved search engine rankings and discoverability.</li><li>Business and Market Reach: Accessible web applications cater to a broader demographic, potentially increasing market reach and making products and services more appealing to a wider audience.</li><li>Corporate Social Responsibility (CSR): Prioritizing accessibility demonstrates a commitment to social responsibility, enhancing a company’s image and contributing positively to its corporate reputation.</li><li>Technological Advancements: Building accessible web applications ensures compatibility with emerging technologies and devices, adapting to advancements in the digital landscape.</li><li>User Loyalty and Satisfaction: Users appreciate applications that are accessible and user-friendly. Prioritizing accessibility can lead to increased user satisfaction and loyalty.</li><li>Future-Proofing: As technology evolves, accessible design principles ensure that web applications remain relevant and adaptable to new devices and interfaces.</li></ol><p>In summary, integrating accessibility into web application development is not just a legal or ethical obligation; it&#39;s a strategic decision that positively impacts user experience, market reach, and overall business success. It aligns with the principle that digital services should be available and usable for everyone, regardless of their abilities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6986bf4987ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving Accessibility in React]]></title>
            <link>https://tusharkale.medium.com/improving-accessibility-in-react-fb48b553f10f?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb48b553f10f</guid>
            <category><![CDATA[acessibility]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Tue, 12 Dec 2023 20:47:18 GMT</pubDate>
            <atom:updated>2024-02-02T21:07:39.323Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*L64aOwLtudSPpYF3MB6TKA.jpeg" /><figcaption>Inclusiveness</figcaption></figure><p>Applications Accessibility, often abbreviated as “a11y,” is a crucial aspect of web development. It ensures that web applications are usable by everyone, including those with disabilities. In this blog post, we’ll explore key strategies to enhance accessibility in React applications.</p><h4><strong>1. Semantic HTML and ARIA</strong>:</h4><p>Use semantic HTML elements to convey meaning and structure. For example, use &lt;button&gt; for buttons, &lt;input&gt; for form inputs, and &lt;nav&gt; for navigation. Additionally, leverage ARIA (Accessible Rich Internet Applications) attributes when necessary to enhance the semantics of custom components.</p><pre>// Good example<br>&lt;button onClick={handleClick} aria-label=&quot;Close&quot;&gt;<br> &lt;span aria-hidden=&quot;true&quot;&gt;&amp;times;&lt;/span&gt;<br>&lt;/button&gt;<br><br>// Bad example (using a &lt;div&gt; instead of a button)<br>&lt;div onClick={handleClick}&gt;Close&lt;/div&gt;</pre><h4><strong>2. Focus Management:</strong></h4><p>Ensure that users can navigate your application using only a keyboard. Components that receive focus should have clear focus indicators. Use the <em>tabindex </em>attribute judiciously and manage focus changes appropriately, especially in modal dialogs.</p><pre>// Example with focus management in a modal<br>const Modal = () =&gt; {<br>  useEffect(() =&gt; {<br>    const modal = document.getElementById(&#39;modal&#39;);<br>    modal.focus();<br>  }, []);<br><br>  return (<br>    &lt;div id=&quot;modal&quot; tabIndex={0}&gt;<br>      {/* Modal content */}<br>    &lt;/div&gt;<br>  );<br>};</pre><p><strong>3. Readable Text and Contrast:</strong></p><p>Maintain a readable font size and provide sufficient color contrast to ensure content is accessible to users with visual impairments. Tools like the Web Content Accessibility Guidelines (WCAG) offer guidelines for text contrast ratios.</p><pre>/* Good example */<br>body {<br>  font-size: 16px;<br>  color: #333;<br>  background-color: #fff;<br>}<br><br>/* Bad example (insufficient contrast) */<br>body {<br>  font-size: 12px;<br>  color: #666;<br>  background-color: #f9f9f9;<br>}</pre><p><strong>4. Accessible Forms:</strong></p><p>Label form elements appropriately, associate labels with form controls, and provide helpful error messages. Use the aria-invalid attribute to indicate invalid input.</p><pre>// Example of an accessible form<br>&lt;form&gt;<br>  &lt;label htmlFor=&quot;username&quot;&gt;Username:&lt;/label&gt;<br>  &lt;input type=&quot;text&quot; id=&quot;username&quot; aria-describedby=&quot;username-error&quot; aria-invalid=&quot;true&quot; /&gt;<br>  &lt;div id=&quot;username-error&quot; role=&quot;alert&quot;&gt;Please enter a valid username.&lt;/div&gt;<br>  &lt;button type=&quot;submit&quot;&gt;Submit&lt;/button&gt;<br>&lt;/form&gt;</pre><p><strong>5. Screen Reader Testing:</strong></p><p>Regularly test your application with screen readers to identify and address accessibility issues. Popular screen readers include VoiceOver (iOS), NVDA (Windows), and JAWS (Windows). Familiarize yourself with the screen reader’s navigation and interaction patterns.</p><p><strong>6. React Accessibility Libraries:</strong></p><p>Consider using React accessibility libraries like react-a11y, react-axe, or eslint-plugin-jsx-a11y to catch common accessibility issues during development. These tools can be integrated into your build process or used as browser extensions.</p><pre># Example of installing eslint-plugin-jsx-a11y<br>npm install eslint-plugin-jsx-a11y --save-dev</pre><p><strong><em>Conclusion:</em></strong></p><p>Prioritizing accessibility in React applications is not only a moral imperative but also contributes to a better user experience for everyone. By following these best practices, you can create web applications that are inclusive and accessible to a diverse audience. Remember, accessibility is an ongoing process, and continually testing and refining your application is key to providing an inclusive user experience.</p><p><em>Hit the clap button if you find this post helpful also feel free to comment if you have any doubts.</em></p><p>Happy coding and building accessible React applications!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb48b553f10f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SAP Ariba Integration]]></title>
            <link>https://tusharkale.medium.com/sap-ariba-integration-47951d530da0?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/47951d530da0</guid>
            <category><![CDATA[sap]]></category>
            <category><![CDATA[ariba]]></category>
            <category><![CDATA[b2b]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[xml]]></category>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 11:25:29 GMT</pubDate>
            <atom:updated>2021-05-29T20:45:43.947Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kq8k--s8X3WaKha7Hd64Lg.jpeg" /></figure><p>SAP integration is useful when companies using SAP deal with the companies that use Non-SAP applications.</p><p>Non-SAP applications need to implement integration to communicate with SAP. In this process, data is transferred from one source like application or software and makes it readable and usable in SAP.</p><p>In this story, I am going to post steps included in the integration of your B2B application with Ariba using NodeJS code samples.</p><p>This process is mainly divided into two parts first is the Punchout setup request and the second is the punchout order message.</p><p>The Punchout setup request is sent from Ariba to the Non-SAP application and the Punchout order message is sent from the Non-SAP application to Ariba.</p><p>To handle punchout setup requests we need to create an API to receive that request and share that API URL with Ariba And we have to also generate a UI page to provide access to selecting products for Ariba users.</p><p>Ariba sends requests to our API URL in cXML format. The request contains parameters defined in the following link <a href="https://success.coupa.com/Suppliers/Integration_Resources/Sample_Punchout_Setup_Request">https://success.coupa.com/Suppliers/Integration_Resources/Sample_Punchout_Setup_Request</a>.</p><p>To read that data in the Nodejs application firstly we need to parse that cXML document into a JSON object. After converting cXML to JSON we need to store that request in a database for the future.</p><p>I have developed an API to receive punchout setup requests in MeteorJs( NodeJs Framework) as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Npi8azfMx6TlyFzjWq7LlQ.png" /></figure><p>When this API is successful Ariba will redirect you to your products page provided in the URL tag inside the punchout setup response. We have to fetch the request on the client-side. On that page, Ariba users will select products and can fill in other data like product quantity delivery period also billing shipping addresses can be added.</p><p>After product selection, we have to create a form to submit our data back to Ariba. The form must contain one input field holding a string of XML data having all product data as per this link <a href="https://success.coupa.com/Suppliers/Integration_Resources/Sample_Punchout_Order_Message">https://success.coupa.com/Suppliers/Integration_Resources/Sample_Punchout_Order_Message</a></p><p>Check the form in React below to submit all selected products back to Ariba.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t17WgGosAGMkWC-AxAeI2w.png" /></figure><p>When the submit button is clicked it will post provided XML data to Ariba And all products will be added to the shopping cart of the Ariba system.</p><p><em>Thanks for taking the time to read this post. Feel free to ask doubts/suggestions inside the comment box and hit the clap button if you find the above information useful.</em></p><p><em>Thanks !!</em></p><p><em>&gt; </em><strong><em>Tushar Kale</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47951d530da0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generate E-Invoice API Integration]]></title>
            <link>https://tusharkale.medium.com/generate-e-invoice-api-integration-c8585afb246d?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8585afb246d</guid>
            <category><![CDATA[generate-e-invoice]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[einvoice]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Fri, 09 Apr 2021 15:23:10 GMT</pubDate>
            <atom:updated>2021-05-31T05:08:03.990Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*CBqYnAGAOveFvpH6j92Ofw.jpeg" /></figure><p>Electronic invoicing (e-Invoicing) is the exchange of the invoice document between a supplier and a buyer in an integrated electronic format. Invoicing is a common B2B practice and has been part of Electronic Data Interchange transactions.</p><p>In this system, B2B invoices are authenticated electronically by GSTN for further use on the common GST portal. All invoice information will be transferred from this portal to both the GST portal and e-way bill portal in real-time.</p><p>In this post, we are going to explore steps included in the integration of e-invoice generation from our own web application.</p><p>You will be eligible for an e-invoice if your company’s revenue is more than 50 cr to enable e-invoice service on <a href="https://einvoice1.gst.gov/">https://einvoice1.gst.gov</a> this website.</p><p>To enable e-invoice service you need to select one provider from the provider list.</p><p>After registration of API service, the service provider will share credentials for accessing API including API_URL, Public Key(.pem file), Subscription Key(string), Authentication URL, Username, and Password.</p><p>Use the above credentials to call two APIs using the POST method. First one for authentication and the second for generation of e-invoice.</p><p>For authentication API requests you need to add a Subscription key in the header.</p><p>Inside the authentication API body, you need to send JSON object including action, username, ForceRefreshAccessToken as false, encrypted password, and encrypted APP_KEY (Random 32 character string) also store nonencrypted APP_KEY for decryption of SEK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JI6kUaHDlnNgzlU0BzmiQw.png" /></figure><p>Above header and body parameters may vary as per service providers.</p><p>Encryption mechanisms provided in the documentation are in the .net and Java language. Please refer to the following code for encryption of strings like APP_KEY and password in NodeJS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xkwInJM72wv4ivxWoh7z4Q.png" /></figure><p>After calling Authentication API successfully you will receive two strings Authtoken and encoded SEK in response. You need to decrypt SEK using non-encrypted APP_KEY using the following code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NKWIb93DgmzRDzPZXGGyBA.png" /></figure><p>Create an e-invoice JSON object by using the rules provided in the documentation. Encrypt that JSON object by decrypted SEK by using the following encryption technique.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FLeH0aec8-gY-iqvyeicRg.png" /></figure><p>Create an e-invoice JSON object by using the rules provided in the documentation. Encrypt that JSON object by decrypted SEK by using the following encryption technique. After encrypting the object you are ready to call API for e-invoice generation. Add GSTIN, Username, Authtoken, and Subscription Key in the header. In the body, you need to add objects including the Data key. Data contains encrypted e-invoice-object. Below is the structure of the header and body of the e-invoice generation API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xu6EWfQ5fngfK5hYKuwOfA.png" /></figure><p>Call API with POST method. If this API call is successful then it will return encrypted e-invoice data in response.</p><p>In response, you will get an IRN number, date, and status of the e-invoice. you will also receive QRcode data.</p><p>Finally, on your regular invoice pdf, you need to add the IRN number and QRcode which represents the IRN number and date.</p><p><em>We know that accessing high-security API gets confusing while implementing. I have tried to explain the steps involved in the e-invoice generation process in a simplified way with code samples. Hit the clap button if you find this post helpful also feel free to comment if you have any doubts.</em></p><p><em>Thanks !!</em></p><p><strong>&gt; Tushar Kale</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8585afb246d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[E-waybill API integration process]]></title>
            <link>https://tusharkale.medium.com/e-waybill-api-integration-process-d088bf689f27?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d088bf689f27</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[gst]]></category>
            <category><![CDATA[e-way-bill]]></category>
            <category><![CDATA[einvoice]]></category>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 18:09:52 GMT</pubDate>
            <atom:updated>2021-05-31T05:10:08.777Z</atom:updated>
            <content:encoded><![CDATA[<h3>Generate E-waybill API integration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vidm61epGebPldlOA_MN6w.jpeg" /></figure><p>Step by step process to generate e-waybill in NodeJS application.</p><p>Hello, I recently implemented an e-waybill API in my web application. Here I am sharing the process involved in integration.</p><ol><li>Register for e-waybill API service on governments e-waybill portal <a href="https://ewaybill.nic.in/">https://ewaybill.nic.in/</a> while registration of API you have to choose one provider from the list.</li><li>After registration of API service, the service provider will share some credentials for accessing API including API_URL, Public Key(.pem file), Subscription Key(string), Authentication URL, Username, and Password.</li><li>By using the above credentials you need to hit two API using post methods. One for authentication and the second for generation of e-waybill.</li><li>For authentication API requests you need to add the GSTIN and Subscription key in the header.</li><li>Inside the authentication API body, you need to send JSON object including the following keys action, username, encrypted password and encrypted APP_KEY (Random 32 character string) also store nonencrypted APP_KEY for decryption of SEK.</li><li>For the encryption of password and APP_KEY sample, Java and .net code is provided in the documentation. I am sharing the encryption function in NodeJs.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/254a6866e1610c5158a6051a04280431/href">https://medium.com/media/254a6866e1610c5158a6051a04280431/href</a></iframe><p>7. After calling Authentication API successfully you will receive two strings Authtoken and encoded SEK in response. You need to decrypt SEK using nonencrypted APP_KEY. These keys are valid for 6 hours but better to generate a new Authtoken and SEK for each e-waybill generation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5cb7237e629c664fa96869c6882196e5/href">https://medium.com/media/5cb7237e629c664fa96869c6882196e5/href</a></iframe><p>8. Create an e-waybill JSON object by using the rules provided in the documentation. Encrypt that JSON object by decrypted SEK by using the following encryption technique.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f7bff1383708768581c2edb9d8b34938/href">https://medium.com/media/f7bff1383708768581c2edb9d8b34938/href</a></iframe><p>9. After encrypting the object you are ready to call the API for an e-waybill generation. Add GSTIN, Authtoken, and Subscription Key in the header. In the body, you need to add a JSON object including keys like action and data. Data will contain the encrypted e-waybill object.</p><p>10. Hit API with POST method. If this API call is successful then it will return encrypted e-waybill data in response.</p><p>11. You need to decrypt received data by the above decryption function using decrypted SEK. After decryption you need to convert that data from base64 to string further that string will be converted into a JSON object. You will get a clear understanding by checking the code statement mentioned below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4xyTPUjACYOuq4zVkNEZA.png" /></figure><p>12. Lastly after successful decryption of data you will get an e-waybill number, e-waybill date, validity date.</p><p>Finally, Generate a PDF of the e-waybill by using the above details including QR code. QR code must contain a string including E-waybill number, our GSTN, date, and time created in the following format <em>NO/GSTIN/DD/MM/YYYY HH:MM:SS AM</em>.</p><p><em>Spread this post if you find the above information useful.</em></p><p><em>Thanks !!</em></p><p><strong>&gt; Tushar Kale</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d088bf689f27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Benefits of writing algorithms]]></title>
            <link>https://tusharkale.medium.com/benefits-of-writing-algorithms-2ca3af053343?source=rss-d36e0239acf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ca3af053343</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[benefits]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[pseudo]]></category>
            <dc:creator><![CDATA[Tushar Kale TK]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 20:06:38 GMT</pubDate>
            <atom:updated>2021-05-31T05:10:59.810Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*iSeOZucXBGuSCx_vtjVHUA.png" /></figure><p>To become a good programmer it is always beneficial to write an algorithm before directly writing code in a text editor. Even though you have a clear idea about the problem, making it a habit to write an algorithm will clear all the doubts and problem statements.</p><p>Algorithms must contain a clear understanding of problem statements, pseudo-code, and the approach you are following to solve the problem.</p><p>These algorithms will also help you to maintain documentation of your project.</p><p><em>Thanks !!</em></p><p>&gt; <strong>Tushar Kale</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ca3af053343" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>