<?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: Er Sumit</title>
    <description>The latest articles on DEV Community by Er Sumit (@sumitkcs).</description>
    <link>https://dev.to/sumitkcs</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%2F1912968%2F1cda5698-241f-47ed-8bfc-c982b18327df.jpg</url>
      <title>DEV Community: Er Sumit</title>
      <link>https://dev.to/sumitkcs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sumitkcs"/>
    <language>en</language>
    <item>
      <title>From Code to Vision: How Amazon Q Helped Me Build the AI Medicine Analyzer</title>
      <dc:creator>Er Sumit</dc:creator>
      <pubDate>Sat, 10 May 2025 14:43:30 +0000</pubDate>
      <link>https://dev.to/sumitkcs/ai-medicine-analyzer-diagnose-medicines-smarter-with-amazon-q-5eg5</link>
      <guid>https://dev.to/sumitkcs/ai-medicine-analyzer-diagnose-medicines-smarter-with-amazon-q-5eg5</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/aws-amazon-q-v2025-04-30"&gt;Amazon Q Developer "Quack The Code" Challenge&lt;/a&gt;: Exploring the Possibilities&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;AI Medicine Analyzer&lt;/strong&gt; — a web app that simplifies how people understand their medications by letting them ask natural-language questions and get instant AI-powered answers.&lt;/p&gt;

&lt;p&gt;This project represents an &lt;strong&gt;unexpected and innovative use of Amazon Q Developer&lt;/strong&gt;. While Amazon Q is typically used for improving productivity during development, I used it to &lt;strong&gt;rapidly ideate, build, and enhance an AI-powered health tech tool&lt;/strong&gt;. It’s a practical healthcare utility powered by modern web tech and LLMs, demonstrating that Amazon Q can be a catalyst for meaningful, real-world innovation — even in domains like digital medicine and patient education.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎥 Demo
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://medilyze.netlify.app//" rel="noopener noreferrer"&gt;&lt;strong&gt;Live Demo on Netflify&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can search any medicine name (e.g., "Paracetamol"), and the app will fetch structured data and allow follow-up questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“What are the side effects?”&lt;/li&gt;
&lt;li&gt;“Is it safe for pregnant women?”&lt;/li&gt;
&lt;li&gt;“Can it be taken with Ibuprofen?”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here are the screenshots of the chat interface:&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%2Fubuxqd7mjuh4se6s3j40.png" 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%2Fubuxqd7mjuh4se6s3j40.png" alt="Medcine analyzer home screen" width="800" height="450"&gt;&lt;/a&gt;&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%2Fqfngyhe57igzza6qoq8j.png" 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%2Fqfngyhe57igzza6qoq8j.png" alt="Medcine analyzer chat screen" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  💻 Code Repository
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/sumitKcs/medicine_analyzer" rel="noopener noreferrer"&gt;&lt;strong&gt;GitHub Repo&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The app is built with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;React + Vite&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Framer Motion&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tailwind CSS&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Google’s Generative AI API&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Q Developer (CLI &amp;amp; VS Code Extension)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚙️ How I Used Amazon Q Developer
&lt;/h2&gt;

&lt;p&gt;I used the &lt;strong&gt;Amazon Q Developer VS Code extension&lt;/strong&gt; extensively throughout development. Here's how it helped at every stage:&lt;/p&gt;

&lt;h3&gt;
  
  
  🚀 Rapid Component Generation
&lt;/h3&gt;

&lt;p&gt;Amazon Q helped scaffold my React app components quickly — from form UIs to API wrappers. This saved a lot of boilerplate time and let me focus on core functionality.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 &lt;strong&gt;Tip&lt;/strong&gt;: When generating boilerplate or reusable code, be specific with your prompt. For example:&lt;br&gt;&lt;br&gt;
&lt;em&gt;"Create a React component with a Tailwind-styled search bar and result list."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  🧠 Real-time Debugging and Optimization
&lt;/h3&gt;

&lt;p&gt;I leveraged Q to inspect confusing bugs, async issues, and even logic errors in the quiz module. It understood my code context inside VS Code and guided me to the fix instantly.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 &lt;strong&gt;Tip&lt;/strong&gt;: Use inline Q chat on specific functions or files — it's smarter than just copy-pasting errors.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  ✨ Code Refactoring &amp;amp; Enhancements
&lt;/h3&gt;

&lt;p&gt;Amazon Q suggested optimized implementations for custom hooks, modularized my data-fetching logic, and offered more performant code patterns — helping me clean up spaghetti code.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 &lt;strong&gt;Tip&lt;/strong&gt;: Ask Q to refactor messy code blocks. Example:&lt;br&gt;&lt;br&gt;
&lt;em&gt;"Refactor this useEffect with better async pattern and error handling."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  📘 Learning Use Case
&lt;/h3&gt;

&lt;p&gt;Amazon Q felt like pairing with a senior developer. I asked it UX-related questions too — like improving the quiz result interface — and it gave both logic suggestions and UI advice.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 &lt;strong&gt;Tip&lt;/strong&gt;: Don’t limit Q to “just code” — use it to ask architectural, UX, or even API strategy questions.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  🛠️ CLI + IDE Combo Power
&lt;/h3&gt;

&lt;p&gt;I also tried the Amazon Q CLI in terminal for exploring available commands and streamlining workflows. It was handy when working outside the IDE or reviewing repo history.&lt;/p&gt;




&lt;h3&gt;
  
  
  🎯 What's Next &amp;amp; Final Thoughts
&lt;/h3&gt;

&lt;p&gt;Working on this project with &lt;strong&gt;Amazon Q Developer&lt;/strong&gt; has been a super productive and genuinely fun experience. It felt like having an AI pair programmer who understands not only your code but also your intent.&lt;/p&gt;

&lt;p&gt;I'm excited to take &lt;strong&gt;AI Medicine Analyzer&lt;/strong&gt; to the next level by expanding it into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Prescription image analysis&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;X-ray and radiology image understanding&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Plant disease identification using image input&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;And even more &lt;strong&gt;domain-specific AI models&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;This challenge was more than just a submission — it sparked a product vision I genuinely want to build out further.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  👥 Team
&lt;/h2&gt;

&lt;p&gt;This was a &lt;strong&gt;solo submission&lt;/strong&gt; by me, &lt;a href="https://dev.to/sumitkcs"&gt;@sumitkcs&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>awschallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>AI Medicine Analyzer – Diagnose Medicines Smarter with Amazon Q</title>
      <dc:creator>Er Sumit</dc:creator>
      <pubDate>Tue, 06 May 2025 08:05:22 +0000</pubDate>
      <link>https://dev.to/sumitkcs/ai-medicine-analyzer-diagnose-medicines-smarter-with-amazon-q-42h4</link>
      <guid>https://dev.to/sumitkcs/ai-medicine-analyzer-diagnose-medicines-smarter-with-amazon-q-42h4</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/aws-amazon-q-v2025-04-30"&gt;Amazon Q Developer "Quack The Code" Challenge&lt;/a&gt;: Crushing the Command Line&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I created AI Medicine Analyzer, an intelligent web app that helps users analyze medications using the power of AI. It allows users to type in the name of any medicine and receive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A clear, structured breakdown of its uses, dosage, side effects, precautions, and interactions.&lt;/li&gt;
&lt;li&gt;AI-powered analysis in natural language, accessible to non-medical users.&lt;/li&gt;
&lt;li&gt;A dynamic, chat-like interface that feels intuitive and fast.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The problem it solves: many patients struggle to understand complex medication instructions or identify drug interactions. This app simplifies that process using LLMs and brings trustworthy drug information to users' fingertips.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Try the live app here: &lt;a href="https://medilyze.netlify.app" rel="noopener noreferrer"&gt;https://medilyze.netlify.app&lt;/a&gt;&lt;br&gt;
(Hosted on Netlify for fast global access.)&lt;/p&gt;

&lt;p&gt;Here are the screenshots of the chat interface:&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%2Flrv3mqwqvg7fa77o5att.png" 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%2Flrv3mqwqvg7fa77o5att.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&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%2Fxfptkslogbvo90oky3f9.png" 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%2Fxfptkslogbvo90oky3f9.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code Repository
&lt;/h2&gt;

&lt;p&gt;You can explore the full source code here: &lt;a href="https://github.com/sumitKcs/medicine_analyzer" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Amazon Q Developer
&lt;/h2&gt;

&lt;p&gt;To align with the Amazon Q Developer Challenge, I explored how Amazon Q could enhance the intelligence and automation of the medicine analyzer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I used Amazon Q's code generation and task breakdown capabilities during development to refactor components and set up Google Genai API routes efficiently.&lt;/li&gt;
&lt;li&gt;Q helped in identifying the best way to implement an input pipeline for medicine prompts and how to structure the React components dynamically.&lt;/li&gt;
&lt;li&gt;I plan to integrate Amazon Q directly into the medicine explanation engine to replace the current LLM with a more secure, AWS-native option (via Bedrock or Q APIs).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tips:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Amazon Q is great at turning vague tasks into code stubs quickly, which saved time especially when setting up Framer Motion and Tailwind utilities.&lt;/li&gt;
&lt;li&gt;Use Q's "Ask to Refactor" and "Add Tests" features — they work well for React code and keep things clean.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This was a solo project by &lt;a class="mentioned-user" href="https://dev.to/sumitkcs"&gt;@sumitkcs&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Future Enhancements&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Integrate streaming AI responses for real-time feedback.&lt;/li&gt;
&lt;li&gt;Add medicine interaction checker to detect potential conflicts.&lt;/li&gt;
&lt;li&gt;Replace GenAI with Amazon Q for direct LLM inference via AWS Bedrock.&lt;/li&gt;
&lt;li&gt;HIPAA-compliant version for enterprise-grade, privacy-first deployments.&lt;/li&gt;
&lt;li&gt;Image support:

&lt;ul&gt;
&lt;li&gt;Upload and analyze medical reports, X-rays, and prescriptions.&lt;/li&gt;
&lt;li&gt;AI will extract structured insights (e.g., detect abnormalities in scans or parse handwriting on prescriptions).&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>awschallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
