<?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: Amjad</title>
    <description>The latest articles on DEV Community by Amjad (@amjad_40b317ac5b1a010b526).</description>
    <link>https://dev.to/amjad_40b317ac5b1a010b526</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3997946%2Fec58b2c2-4739-4a33-a7b0-46bd159454ee.png</url>
      <title>DEV Community: Amjad</title>
      <link>https://dev.to/amjad_40b317ac5b1a010b526</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amjad_40b317ac5b1a010b526"/>
    <language>en</language>
    <item>
      <title>I built a free tool that turns SQL schemas into ER diagrams (no signup needed).</title>
      <dc:creator>Amjad</dc:creator>
      <pubDate>Tue, 23 Jun 2026 04:49:30 +0000</pubDate>
      <link>https://dev.to/amjad_40b317ac5b1a010b526/i-built-a-free-tool-that-turns-sql-schemas-into-er-diagrams-no-signup-needed-2pbg</link>
      <guid>https://dev.to/amjad_40b317ac5b1a010b526/i-built-a-free-tool-that-turns-sql-schemas-into-er-diagrams-no-signup-needed-2pbg</guid>
      <description>&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;DevForge is a free SQL schema visualizer - paste your Postgres &lt;br&gt;
CREATE TABLE statements and instantly get a clean visual ER diagram &lt;br&gt;
showing your tables, columns, primary keys, foreign keys, and &lt;br&gt;
relationships between them.&lt;/p&gt;

&lt;p&gt;No account needed. Just paste and generate.&lt;/p&gt;

&lt;p&gt;Try it here: &lt;a href="https://devforge-sql.vercel.app" rel="noopener noreferrer"&gt;https://devforge-sql.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;I kept wanting to quickly visualize database schemas while learning &lt;br&gt;
SQL and building projects, but existing tools were either too complex, &lt;br&gt;
required signups, or didn't handle real-world messy schemas well.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it handles
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Composite primary and foreign keys&lt;/li&gt;
&lt;li&gt;Array types (TEXT[], NUMERIC(10,2)[])&lt;/li&gt;
&lt;li&gt;Custom enum/type columns&lt;/li&gt;
&lt;li&gt;GENERATED ALWAYS AS IDENTITY columns&lt;/li&gt;
&lt;li&gt;Foreign keys defined via ALTER TABLE (not just inline REFERENCES)&lt;/li&gt;
&lt;li&gt;Self-referencing tables (tree structures)&lt;/li&gt;
&lt;li&gt;Circular foreign keys&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Next.js 14 + TypeScript&lt;/li&gt;
&lt;li&gt;React Flow (diagram rendering)&lt;/li&gt;
&lt;li&gt;elkjs (auto-layout - chose this over dagre after a side-by-side 
crossing-count comparison on a 15-table schema)&lt;/li&gt;
&lt;li&gt;node-sql-parser (Postgres dialect)&lt;/li&gt;
&lt;li&gt;Deployed on Vercel free tier&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned building it
&lt;/h2&gt;

&lt;p&gt;The trickiest part was the SQL parser. node-sql-parser only accepts &lt;br&gt;
a bare identifier as a column type if that exact name was already &lt;br&gt;
declared via CREATE TYPE earlier in the same string. So &lt;code&gt;status &lt;br&gt;
order_status&lt;/code&gt; would fail unless &lt;code&gt;CREATE TYPE order_status AS ENUM&lt;/code&gt; &lt;br&gt;
appeared before it. The fix was pre-scanning for undeclared custom &lt;br&gt;
types and synthesizing throwaway CREATE TYPE declarations before &lt;br&gt;
parsing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Currently working on adding auth + save projects, then export &lt;br&gt;
(PNG free, PDF paid). Would love any feedback - especially if you &lt;br&gt;
throw a real/messy schema at it and something breaks!&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>sql</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
