<?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: Dhiraj Roy</title>
    <description>The latest articles on DEV Community by Dhiraj Roy (@dhiraj_roy_01).</description>
    <link>https://dev.to/dhiraj_roy_01</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4209306%2F93e1d277-7d51-4e88-9cbe-8c4a6516b798.gif</url>
      <title>DEV Community: Dhiraj Roy</title>
      <link>https://dev.to/dhiraj_roy_01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dhiraj_roy_01"/>
    <language>en</language>
    <item>
      <title>I Built an AI Website Builder: From a Simple Prompt to a Website</title>
      <dc:creator>Dhiraj Roy</dc:creator>
      <pubDate>Wed, 28 Oct 2026 21:15:22 +0000</pubDate>
      <link>https://dev.to/dhiraj_roy_01/i-built-an-ai-website-builder-from-a-simple-prompt-to-a-website-48bn</link>
      <guid>https://dev.to/dhiraj_roy_01/i-built-an-ai-website-builder-from-a-simple-prompt-to-a-website-48bn</guid>
      <description>&lt;h1&gt;
  
  
  I Built an AI Website Builder That Turns Prompts Into Websites 🚀
&lt;/h1&gt;

&lt;p&gt;What if you could create a website simply by describing what you want?&lt;/p&gt;

&lt;p&gt;Imagine typing:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Create a modern portfolio website for a photographer with a dark theme, a gallery, an about section, and a contact form.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Instead of starting from scratch, you could use AI to generate a website based on your description.&lt;/p&gt;

&lt;p&gt;That's the idea behind my &lt;strong&gt;AI Website Builder&lt;/strong&gt;, a full-stack application I've built to make website creation faster and more accessible.&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Try it live:&lt;/strong&gt; &lt;a href="https://ai-website-builder-coral.vercel.app/" rel="noopener noreferrer"&gt;https://ai-website-builder-coral.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this article, I'll introduce the project, explain its main features and technology stack, and share what I've learned from building it.&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 The Problem I Wanted to Solve
&lt;/h2&gt;

&lt;p&gt;Building a website traditionally involves several steps: designing the interface, writing components, styling pages, and making everything work together.&lt;/p&gt;

&lt;p&gt;For experienced developers, this is part of the process. For beginners or people without coding experience, it can be intimidating.&lt;/p&gt;

&lt;p&gt;I wanted to explore how AI could simplify this process.&lt;/p&gt;

&lt;p&gt;My goal was to build an application where users could describe their ideas in natural language and turn those ideas into websites without manually writing every component from scratch.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Introducing My AI Website Builder
&lt;/h2&gt;

&lt;p&gt;The AI Website Builder is a full-stack platform that generates websites from text prompts.&lt;/p&gt;

&lt;p&gt;Users can describe the website they want, preview the generated result, and refine it using additional instructions.&lt;/p&gt;

&lt;p&gt;Rather than treating website generation as a one-time action, I wanted to support a workflow in which users could generate, review, and improve their websites.&lt;/p&gt;

&lt;h3&gt;
  
  
  ✨ Key Features
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Generate Websites from Prompts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Users describe the website they want in natural language.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;"Create a modern landing page for a fitness coach with pricing plans, testimonials, and a contact section."&lt;/p&gt;

&lt;p&gt;The application uses an AI model to generate a website based on the prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Preview Generated Websites&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Users can preview their generated websites and inspect the result before deciding what to change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Edit and Regenerate with AI&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Users can provide additional instructions to refine their websites instead of starting the process over.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Export Generated Code&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The application supports downloading or exporting generated website code, allowing users to work with the output beyond the builder.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. User Authentication&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Authentication allows users to access their accounts and use the application's personalized features.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Save Previous Projects&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Users can save previously generated websites and return to their work later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Deploy Websites&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The platform includes a deployment feature for publishing generated websites.&lt;/p&gt;

&lt;p&gt;Together, these features make the project more than a simple AI text generator. They support a broader website creation workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ Technology Stack
&lt;/h2&gt;

&lt;p&gt;I used technologies that allowed me to build both the user interface and the server-side functionality.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;React&lt;/td&gt;
&lt;td&gt;Building the user interface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TypeScript&lt;/td&gt;
&lt;td&gt;Adding type safety to the codebase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Node.js&lt;/td&gt;
&lt;td&gt;Server-side JavaScript runtime&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Express.js&lt;/td&gt;
&lt;td&gt;Backend API and application routing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PostgreSQL&lt;/td&gt;
&lt;td&gt;Relational database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tailwind CSS&lt;/td&gt;
&lt;td&gt;Styling the interface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vercel&lt;/td&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I also implemented support for multiple AI model providers.&lt;/p&gt;

&lt;p&gt;My backend configuration includes Google Gemini, OpenRouter, and Groq.&lt;/p&gt;

&lt;p&gt;This lets the application offer different model options rather than relying exclusively on a single provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  🤖 Supporting Multiple AI Models
&lt;/h2&gt;

&lt;p&gt;One interesting part of the project is the AI provider configuration.&lt;/p&gt;

&lt;p&gt;Instead of tightly coupling the application to one provider, I created a configuration that identifies the available models and their corresponding providers.&lt;/p&gt;

&lt;p&gt;For example, the configuration includes Gemini models, OpenRouter model options, and Groq-hosted Llama models.&lt;/p&gt;

&lt;p&gt;This makes the model selection logic easier to organize and provides flexibility when choosing an available model.&lt;/p&gt;

&lt;p&gt;Here's a simplified version of the approach:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;AIProvider&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;google&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;openrouter&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;groq&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kr"&gt;interface&lt;/span&gt; &lt;span class="nx"&gt;ModelConfig&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;AIProvider&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;AI_MODELS&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;ModelConfig&lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;gemini-2.5-flash&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;google&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;openrouter/auto&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;openrouter&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;llama-3.3-70b-versatile&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;groq&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is a simplified example of the model configuration used in my project.&lt;/p&gt;

&lt;p&gt;The key idea is to keep the model name and provider associated with each option so the backend can select the appropriate integration.&lt;/p&gt;

&lt;p&gt;Supporting multiple providers also creates opportunities to compare model behavior, generation quality, latency, and availability.&lt;/p&gt;

&lt;h2&gt;
  
  
  🏗️ Building a Full-Stack Application
&lt;/h2&gt;

&lt;p&gt;Creating an AI-powered website builder involves more than connecting a text box to an AI API.&lt;/p&gt;

&lt;p&gt;The application also needs a frontend, backend routes, database integration, authentication, and a way to manage generated projects.&lt;/p&gt;

&lt;p&gt;I used React and TypeScript for the frontend and Node.js with Express for the backend.&lt;/p&gt;

&lt;p&gt;PostgreSQL provides relational data storage, while Tailwind CSS helps maintain a consistent interface.&lt;/p&gt;

&lt;p&gt;Vercel is used for deployment.&lt;/p&gt;

&lt;p&gt;The project brings these components together into a single application, with the AI generation process serving as its central feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎯 Features I Wanted to Bring Together
&lt;/h2&gt;

&lt;p&gt;While developing this project, I wanted to support the complete workflow rather than stopping after the first generated result.&lt;/p&gt;

&lt;p&gt;That meant including features for previewing websites, refining them with additional prompts, exporting code, saving projects, and deploying the finished result.&lt;/p&gt;

&lt;p&gt;These features address different stages of website creation.&lt;/p&gt;

&lt;p&gt;Generation helps users get started. Previewing helps them evaluate the result. Iteration gives them a way to refine it. Exporting and deployment help them take the project further.&lt;/p&gt;

&lt;h2&gt;
  
  
  📚 What I Learned
&lt;/h2&gt;

&lt;p&gt;Building a full-stack AI application gave me an opportunity to work across several parts of the development process.&lt;/p&gt;

&lt;p&gt;A few important areas of learning were:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full-stack integration:&lt;/strong&gt; Bringing the frontend, backend, database, and AI integrations together.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI provider abstraction:&lt;/strong&gt; Organizing model configurations so multiple providers can be supported.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Application functionality:&lt;/strong&gt; Building features beyond generation, including authentication, project storage, previews, and exporting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User experience:&lt;/strong&gt; Thinking about the workflow users need to go from an initial idea to a usable website.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment:&lt;/strong&gt; Preparing the application to run outside the local development environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project also reinforced an important idea: adding AI to an application is only one part of the engineering work. The surrounding software still needs to be designed, implemented, and maintained carefully.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔮 What's Next?
&lt;/h2&gt;

&lt;p&gt;There are several directions in which I would like to continue improving the project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Improving the quality and consistency of generated websites.&lt;/li&gt;
&lt;li&gt;Making iterative editing more predictable.&lt;/li&gt;
&lt;li&gt;Improving error handling during generation.&lt;/li&gt;
&lt;li&gt;Expanding the range of website styles and layouts.&lt;/li&gt;
&lt;li&gt;Making the overall workflow smoother for users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is to keep improving the experience from the initial prompt to the final website.&lt;/p&gt;

&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building this AI Website Builder has been an opportunity to explore the intersection of full-stack development and AI.&lt;/p&gt;

&lt;p&gt;I wanted to create something practical: an application that takes a user's idea and helps turn it into a website.&lt;/p&gt;

&lt;p&gt;The project combines React, TypeScript, Node.js, Express, PostgreSQL, Tailwind CSS, and multiple AI provider integrations into one working application.&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Explore the project:&lt;/strong&gt; &lt;a href="https://ai-website-builder-coral.vercel.app/" rel="noopener noreferrer"&gt;https://ai-website-builder-coral.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try it out and let me know what you think!&lt;/p&gt;

&lt;p&gt;Have you built anything with AI that you're excited about? I'd love to hear about your projects and what you've learned along the way.&lt;/p&gt;

</description>
      <category>mlhacks</category>
      <category>devchallenge</category>
      <category>hackathon</category>
    </item>
    <item>
      <title>My First Post !!!</title>
      <dc:creator>Dhiraj Roy</dc:creator>
      <pubDate>Mon, 26 Oct 2026 18:08:34 +0000</pubDate>
      <link>https://dev.to/dhiraj_roy_01/my-first-post--4f9m</link>
      <guid>https://dev.to/dhiraj_roy_01/my-first-post--4f9m</guid>
      <description>&lt;h1&gt;
  
  
  Hello, DEV Community! 👋
&lt;/h1&gt;

&lt;p&gt;I'm Dhiraj Roy, an aspiring software developer passionate about technology and building things with code. 🚀&lt;/p&gt;

&lt;p&gt;I'm currently exploring the world of software development, working on projects, and continuously improving my programming skills.&lt;/p&gt;

&lt;p&gt;💻 &lt;strong&gt;A little about me:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👨‍💻 Full-Stack Development&lt;/li&gt;
&lt;li&gt;⚡ MERN Stack &amp;amp; Next.js&lt;/li&gt;
&lt;li&gt;🐍 Python&lt;/li&gt;
&lt;li&gt;☕ Java&lt;/li&gt;
&lt;li&gt;🌐 Web Development&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm also an intern at YuvaIntern, where I'm working toward gaining practical experience and growing as a developer.&lt;/p&gt;

&lt;h3&gt;
  
  
  🎯 What do I plan to share here?
&lt;/h3&gt;

&lt;p&gt;I'll be sharing my learning experiences, projects, coding tips, technical discoveries, and lessons I learn along the way.&lt;/p&gt;

&lt;p&gt;I believe that learning becomes more valuable when we share our knowledge and learn from others.&lt;/p&gt;

&lt;h3&gt;
  
  
  🤝 Let's Connect!
&lt;/h3&gt;

&lt;p&gt;I'm excited to be part of this community, connect with fellow developers, and learn from your experiences.&lt;/p&gt;

&lt;p&gt;If you're also learning to code or working on interesting projects, feel free to say hello in the comments!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's to learning, building, and growing together! 🚀&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  DEVCommunity #WebDevelopment #Programming #LearningInPublic
&lt;/h1&gt;

</description>
      <category>beginners</category>
      <category>softwaredevelopment</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
