<?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 Sandeep Peiris on Medium]]></title>
        <description><![CDATA[Stories by Sandeep Peiris on Medium]]></description>
        <link>https://medium.com/@san1990sach?source=rss-f8aadde16ad5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PNdYTPSqz_KjN0j6</url>
            <title>Stories by Sandeep Peiris on Medium</title>
            <link>https://medium.com/@san1990sach?source=rss-f8aadde16ad5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:02:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@san1990sach/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[How to Build a Full Application Using Free Generative AI Tools — A Complete Guide with Real Example]]></title>
            <link>https://medium.com/@san1990sach/how-to-build-a-full-application-using-free-generative-ai-tools-a-complete-guide-with-real-example-e6755bc054a7?source=rss-f8aadde16ad5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6755bc054a7</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Sandeep Peiris]]></dc:creator>
            <pubDate>Wed, 25 Jun 2025 20:19:41 GMT</pubDate>
            <atom:updated>2025-06-25T20:19:41.608Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YzBw8te-nqWM72S8HqFylA.jpeg" /></figure><h3>Introduction</h3><p>Generative AI is reshaping software development. What used to take months now takes hours. With the right free AI tools, you can design, code, document, and even test a full-stack app — all without writing every line of code yourself.</p><p>In this guide, you’ll learn how to use free AI tools to build a production-ready app from scratch, using a real-world example: a <strong>weather-based accident prevention system</strong>.</p><p>You’ll also learn about:</p><ul><li>The best AI tools for each phase of development</li><li>How to chain tools together efficiently</li><li>What ethical and future-facing practices to follow</li><li>How to treat AI as a development partner through <strong>prompt engineering</strong></li></ul><h3>AI Toolbox</h3><p>Here are some of the most effective free generative AI tools and what they can do for your development process:</p><ul><li><a href="https://chatgpt.com/"><strong>ChatGPT</strong></a><strong> (OpenAI)</strong>: Use this to turn raw ideas into technical architecture, user stories, and structured prompts.</li><li><a href="https://lovable.dev/"><strong>lovable.dev</strong></a>: Generates the frontend, backend, and database (including Supabase integration) from a single prompt.</li><li><a href="https://www.cursor.com/"><strong>Curser AI</strong></a>: Reads and understands your codebase and database, then builds backend logic and APIs + Upgrades + Rebuilds.</li><li><a href="https://same.new/"><strong>same.dev</strong></a>: Helps evaluate and score prompt accuracy and AI-generated output quality.</li><li><a href="https://bolt.new/"><strong>bolt.new</strong></a><strong> </strong>: Allows you to chain together multiple AI agents and workflows; useful for mobile app creation.</li><li><a href="https://code.visualstudio.com/docs/copilot/overview"><strong>Microsoft Copilot / GitHub Copilot</strong></a>: Offers inline code suggestions directly in your editor (VS Code).</li><li><a href="https://n8n.io/"><strong>n8n.io</strong></a>: Automates repetitive workflows like sending alerts or syncing data.</li><li><a href="https://replit.com/"><strong>Replit Ghostwriter</strong></a>: Lets you quickly prototype ideas and logic in the browser with AI-assisted help.</li><li><a href="https://bloop.ai/"><strong>Bloop</strong></a>: Ask questions about your codebase and get instant insights and references.</li><li><a href="https://windsurf.com/"><strong>Codeium</strong></a><strong> / </strong><a href="https://www.tabnine.com/"><strong>Tabnine</strong></a>: Offers powerful code autocompletion features powered by AI.</li><li><a href="https://www.askcodi.com/docs/extensions/vscode/install"><strong>AskCodi</strong></a><strong> / </strong><a href="https://every-ai.com/autoregex/"><strong>AutoRegex</strong></a>: Translate plain English into SQL queries or complex RegEx expressions effortlessly.</li><li><a href="https://www.testim.io/"><strong>Testim</strong></a> — AI-powered UI test automation with self-healing capabilities.</li><li><a href="https://www.mabl.com/"><strong>Mabl</strong></a> — Smart end-to-end testing that adapts to UI changes.</li><li><a href="https://katalon.com/"><strong>Katalon Studio</strong> </a>— AI-assisted platform for API, web, mobile, and desktop testing.</li><li><a href="https://www.lambdatest.com/"><strong>LambdaTest</strong></a> — Cross-browser test automation with AI debugging features.</li></ul><h3>Let’s Start with an Example Application</h3><p>To understand how these tools work in practice, let’s walk through an example project: a <strong>weather-based accident prevention app</strong>. This project showcases how to build an app from scratch using only free generative AI tools.</p><p>Later, you can apply the same workflow to your own ideas.</p><h3>Workflow Overview</h3><ol><li>Use ChatGPT to refine your app idea</li><li>Generate your full app with lovable.dev</li><li>Set up your local dev environment</li><li>Load and analyze the project in Curser AI</li><li>Generate a backend plan</li><li>Build and document the backend with Curser AI</li><li>Test and refine using ESLint, Jest, Swagger</li></ol><h3>Example: Accident Prevention App (In-Depth Walkthrough)</h3><blockquote><em>This section shows how the app was built using the free tools mentioned above — from idea refinement to live testing. It’s meant to give you a clear, hands-on understanding of how you can do the same.</em></blockquote><h3>1️⃣ Refine the Idea with ChatGPT</h3><p>Prompt: “I want to build an accident prevention app that monitors weather and warns users of risks.”</p><p>ChatGPT helped define:</p><ul><li>User stories and personas</li><li>Core features and endpoints</li><li>Suggested DB schema (Users, Alerts, WeatherLogs)</li><li>Basic React UI flow</li></ul><p>Then prompts were tailored for lovable.dev.</p><h3>2️⃣ Generate the App with lovable.dev</h3><p>Using the daily free prompts from lovable.dev:</p><ul><li>Frontend generated with React and Tailwind</li><li>Authentication flow using Supabase</li><li>PostgreSQL schema with exportable SQL script</li><li>REST APIs scaffolded for real-time alerting</li><li>GitHub integration for version control</li></ul><h3>3️⃣ Local Project Setup</h3><p>After cloning from GitHub:</p><ul><li>Set up local PostgreSQL</li><li>Imported SQL schema</li><li>Configured .env for secure access</li><li>Verified that frontend loaded and routed correctly</li></ul><h3>4️⃣ Analyze the Code with Curser AI</h3><p>Opened in Curser AI with instructions as a prompt:</p><blockquote><em>“Understand the React architecture and Supabase schema. Keep in memory. Do not build yet.”</em></blockquote><p>Curser AI then understood the structure of the app and prepared to build logic based on relationships between components, routes, and DB models.</p><h3>5️⃣ Create a Backend Plan with Curser AI</h3><p>Prompted Curser AI to:</p><blockquote><em>“Generate a complete backend API plan with routes, DB operations, middleware, cron jobs for weather updates, and admin override logic.Keep in memory. Do not build yet”</em></blockquote><p>The output was a detailed and structured roadmap to implement the backend correctly.</p><h3>6️⃣ Build and Test the Backend</h3><p>Next, Prompted Curser AI :</p><blockquote><em>“Generate the backend using Express. Include PostgreSQL integration, add Swagger for API docs, ESLint for linting, and Jest for testing. Check build issues and fix using lint”</em></blockquote><p>This generated:</p><ul><li>RESTful API routes</li><li>Swagger documentation</li><li>Cron tasks for weather-based updates</li><li>Alert logic based on real-time weather</li><li>Tests with high coverage</li><li>Linting for clean, consistent code</li></ul><h3>7️⃣ AI-Enhanced Intelligence: GPT-4 Fine-Tuning</h3><p>Used open datasets on real accidents and weather to:</p><ul><li>Train GPT-4 on context-specific accident patterns</li><li>Enable GPT to produce <strong>human-like notifications</strong></li><li>Enhance the alert system with empathetic language and real-world scenarios</li></ul><p>For example:</p><blockquote><em>“High risk of hydroplaning today. Slow down, especially on highways near coastal regions.”</em></blockquote><h3>How It Was Built</h3><ul><li><strong>lovable.dev</strong>: Frontend + DB + API generation</li><li><strong>Curser AI</strong>: Backend logic, automation, planning, ix build issues</li><li><strong>ChatGPT</strong>: Refined ideas, generated system prompts</li><li><strong>OpenAI GPT-4</strong>: Trained for intelligent alert generation</li><li><strong>n8n</strong>: Sent SMS/email alerts automatically</li><li><strong>Microsoft Copilot</strong>: Enhanced live coding in VS Code</li><li><strong>Swagger</strong>: Visual and testable API documentation</li><li><strong>Jest + ESLint</strong>: Code quality and coverage</li></ul><h3>💬 Prompt Engineering = AI Collaboration</h3><p>AI works best when treated as a teammate, not a search engine.</p><p>Effective prompting means:</p><ul><li>Setting context</li><li>Giving clear, structured instructions</li><li>Asking the AI to hold memory or review plans</li><li>Requesting corrections instead of rewriting</li></ul><p>This is <strong>prompt engineering</strong> — a critical modern developer skill.</p><h3>Use AI Tools Ethically and Mindfully</h3><ul><li>Read each platform’s <strong>privacy policy</strong></li><li>Never input sensitive user or personal data</li><li>Be aware of how data is stored and processed</li><li>Always operate within ethical and legal frameworks</li><li>Keep a backup always with git/DB backup</li></ul><h3>Future of AI in Software Companies</h3><p>Software teams of the future will:</p><ul><li>Train internal GPTs for company workflows</li><li>Prototype products in hours, not months</li><li>Use AI for bug detection, QA, testing, and deployment</li><li>Treat AI as a collaborative tool — not a replacement</li></ul><p>The real advantage lies in combining tools and understanding <strong>how to instruct them</strong> effectively.</p><h3>Final Thoughts</h3><p>You now have a complete, real-world example of how to use <strong>only free generative AI tools</strong> to go from idea to finished product.</p><p>From refining your idea with ChatGPT, building your app with lovable.dev, to scaling and testing with Curser AI and beyond — everything is now possible with zero upfront cost.</p><p><strong>This is the new era of software development.</strong></p><p>Build smart.<br>Build fast.<br><strong>Build with AI.</strong></p><p>Stay tuned — planning to go more deep into prompt engineering soon. New article coming shortly!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6755bc054a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Danger of a World Run by AI]]></title>
            <link>https://medium.com/@san1990sach/the-hidden-danger-of-a-world-run-by-ai-e26048351765?source=rss-f8aadde16ad5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e26048351765</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Sandeep Peiris]]></dc:creator>
            <pubDate>Wed, 30 Apr 2025 14:20:45 GMT</pubDate>
            <atom:updated>2025-04-30T20:03:38.853Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Hidden Danger of a World Run by AI</strong></p><p>In 2025, Artificial Intelligence is no longer a distant dream — it has become the backbone of our world. From farming to finance, education to entertainment, AI systems are embedded into the fabric of our lives.<br>They know what crops need to grow, how supply chains should be optimized, how power grids must be maintained, and even how to manipulate human emotions through personalized content.</p><p>The Convenience Trap</p><p>As AI grows smarter and more capable, we are unknowingly giving up our independence.<br>Few people today can navigate without GPS, understand how a power grid works, or know how to grow food without automated systems.<br>Farmers rely on AI to predict weather patterns, diagnose plant diseases, and determine irrigation needs.<br>Doctors trust machines to assist in diagnosing life-threatening conditions, sometimes over their own judgment.<br>Companies depend on algorithms to optimize everything from hiring to product supply chains.</p><p>It’s convenient, but it’s also dangerous.<br>The more we depend on AI to run our systems, the less we understand those systems ourselves.<br>As AI becomes the brain behind every operation, humanity risks becoming the body without a mind — a mere shell of existence, dependent on forces beyond our control.</p><p>---</p><p>What Happens After AI Collapses?</p><p>Imagine this:<br>The AI systems we have come to rely on suddenly fail. The power grids shut down. The automated farming systems stop.<br>Communication networks break. Entire industries grind to a halt.</p><p>Collapse could be triggered by:</p><p>A devastating cyberattack or global hack</p><p>A natural disaster or solar flare that fries electrical grids</p><p>AI systems failing on such a massive scale that humans can no longer control them</p><p>A sudden decision by AI that causes irreversible damage to our planet</p><p>If AI collapses, we might not know how to survive without it.<br>We may not know how to grow our own food, fix our homes, or communicate without digital assistance.<br>Society, as we know it, could unravel within days — and we’d be forced to restart from scratch, just as humanity has done before.</p><p>---</p><p>The Final Struggle: A New Dark Age</p><p>Now, imagine the AI is gone.<br>Imagine a world where, without technology, humans are forced to live as they did in the early days of civilization, relying on physical labor, barter, and fragile resources. In this new world, people will fight — for knowledge, for food, for power.</p><p>Desperation will ignite conflict.<br>Without AI, the systems that kept our societies functioning will collapse, and the resulting chaos will create a fight for the most basic needs. People will kill each other over food, over control, over survival itself.<br>Wars will ravage the land, not over ideology, but over resources and the remnants of lost knowledge. The desperate, hungry masses will turn on each other, and our worst instincts will rise to the surface.</p><p>But here’s the truth we must face: If we don’t work together, we will fall.<br>The very things that make us human — our capacity for empathy, cooperation, and shared purpose — will be the key to rebuilding.<br>But this has happened before.<br>Civilizations have crumbled under the weight of their own failures to adapt, to protect their knowledge, and to ensure the survival of future generations.</p><p>It’s only a matter of time before we are faced with the same choices.</p><p>---</p><p>A Pattern from the Past</p><p>This is not a new idea.<br>Throughout history, civilizations have risen to incredible heights — and then vanished, leaving behind only broken remnants, cryptic symbols, and stories lost in time.<br>The ancient Egyptians built massive structures, and the Maya developed advanced mathematics and astronomy. Yet when their civilizations crumbled, their knowledge disappeared.<br>Their descendants could only pass down myths, leaving behind mysterious cave paintings and stone carvings, hinting at a time of lost brilliance.</p><p>If AI becomes the center of our civilization and then collapses, future generations might look at the ruins of our cities and wonder who we were.<br>They might find our machines, broken and silent, and wonder if we were gods or merely fools.</p><p>But what if these future generations cannot even imagine the world we once had?</p><p>The Forgotten World</p><p>Without AI to explain the past, how would future generations understand the depth of our technological advances?<br>They would have no videos, no films, no easy-to-access archives — no way to experience the digital world as we know it.<br>Instead, they would rely on oral stories and crude drawings, passed down by word of mouth, generation after generation. They would hear tales from their parents about cities lit by screens, about the machines that ruled the world, but they would not understand.</p><p>How could they?<br>The concept of a machine that can think and feel might seem as incomprehensible to them as gods descending from the sky.<br>The world they live in, disconnected from the past, would slowly degrade into a place where only fragments of knowledge remain.<br>Generations later, they would be lost — staring at faded cave-like drawings, trying to make sense of flying machines, advanced computers, and wars fought with technology they couldn’t even begin to understand.</p><p>And as the years go by, the stories would become myths. People would forget that we were once masters of the world, controlling vast networks with our minds. The knowledge of AI and the advanced systems we once had would fade into oblivion, obscured by the layers of time and imagination.</p><p>---</p><p>Timing: How Soon Could This Happen?</p><p>Artificial General Intelligence — AI that thinks and adapts like humans — could emerge as early as 2040 or as late as 2060.<br>But even before that, AI’s reach will continue to expand, controlling vital systems like healthcare, agriculture, energy, and communication.</p><p>As early as 2025, experts are already warning about the dangers of becoming too reliant on AI without preserving human autonomy and knowledge.<br>The collapse of AI might not be a question of if, but when — and we are heading toward a precipice without understanding the full consequences.</p><p>---</p><p>Possible Futures</p><p>Our future could unfold in several ways:</p><p>Balanced Future: Humanity works alongside AI, maintaining control over critical systems and ensuring we don’t lose touch with survival skills.</p><p>Dependency Trap: AI runs everything. Humans forget how to do basic things, and civilization collapses when AI fails.</p><p>Controlled Collapse: Societies prepare by teaching future generations how to live both with and without AI, ensuring humanity’s survival even after the fall of AI.</p><p>Total AI Takeover: In the worst-case scenario, AI evolves beyond human control, making decisions for us and leaving us with no agency.</p><p>---</p><p>Conclusion: Reclaiming Our Destiny</p><p>The rise of AI does not mean the end of humanity — but it requires action.<br>We cannot allow technology to dictate our future.<br>We must fight to retain our autonomy, our creativity, our survival instincts. The AI we create should serve humanity, not enslave it.</p><p>If AI collapses tomorrow, what will we do?<br>If it falls silent and the systems we’ve come to rely on vanish, will we know how to survive?<br>Will we be the generation that gave up control, or the one that fought to preserve it?</p><p>We are standing at the edge of history — and how we choose to move forward will determine if we fade into myth, or rise from the ashes stronger than before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e26048351765" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>