<?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: Alperen Eser</title>
    <description>The latest articles on DEV Community by Alperen Eser (@alpereneser).</description>
    <link>https://dev.to/alpereneser</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%2F3869423%2F044a8e38-2945-4607-9026-0c0c948783a1.jpg</url>
      <title>DEV Community: Alperen Eser</title>
      <link>https://dev.to/alpereneser</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alpereneser"/>
    <language>en</language>
    <item>
      <title>I Built a Personal Knowledge Graph App — Here's the Full Stack Behind It</title>
      <dc:creator>Alperen Eser</dc:creator>
      <pubDate>Thu, 09 Apr 2026 09:24:44 +0000</pubDate>
      <link>https://dev.to/alpereneser/i-built-a-personal-knowledge-graph-app-heres-the-full-stack-behind-it-1laj</link>
      <guid>https://dev.to/alpereneser/i-built-a-personal-knowledge-graph-app-heres-the-full-stack-behind-it-1laj</guid>
      <description>&lt;p&gt;You read Sapiens, then watched Inception, and felt a connection between them. Spotify didn't suggest it. Goodreads didn't know about it. That connection existed only in your mind.&lt;/p&gt;

&lt;p&gt;I built &lt;a href="https://synaptive.app" rel="noopener noreferrer"&gt;Synaptive&lt;/a&gt; to make those invisible connections visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Synaptive?
&lt;/h2&gt;

&lt;p&gt;Synaptive is a personal knowledge graph app. You add the books you read, movies you watch, podcasts you listen to — then draw connections between them and write why they're linked.&lt;/p&gt;

&lt;p&gt;The result is a visual map of your intellectual journey that no algorithm could create.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live:&lt;/strong&gt; &lt;a href="https://synaptive.app" rel="noopener noreferrer"&gt;synaptive.app&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Stack
&lt;/h2&gt;

&lt;p&gt;Here's what powers it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 14&lt;/strong&gt; (App Router) — SSR/SSG/ISR, API routes, everything in one repo&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TypeScript&lt;/strong&gt; — strict mode, no &lt;code&gt;any&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PostgreSQL&lt;/strong&gt; + &lt;strong&gt;Prisma ORM&lt;/strong&gt; — type-safe database layer&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NextAuth.js v5&lt;/strong&gt; — GitHub + Google + credentials auth with email verification&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;@xyflow/react (React Flow)&lt;/strong&gt; — interactive node-based graph editor&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind CSS&lt;/strong&gt; + &lt;strong&gt;shadcn/ui&lt;/strong&gt; — design system with dark/light themes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Framer Motion&lt;/strong&gt; — page transitions and micro-interactions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;next-intl&lt;/strong&gt; — full i18n (English + Turkish), &lt;code&gt;localePrefix: 'as-needed'&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resend&lt;/strong&gt; — transactional emails (verification, welcome, password reset)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker Compose&lt;/strong&gt; — local dev (PostgreSQL + Redis)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DigitalOcean&lt;/strong&gt; — production server, Docker-based deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;🧠 Knowledge Graphs&lt;/strong&gt;&lt;br&gt;
Create multiple graphs like "Books That Changed Me" or "2026 Watchlist". Each graph has its own canvas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔍 Real API Search&lt;/strong&gt;&lt;br&gt;
Search across Open Library, TMDB, Spotify, YouTube, RAWG, Listen Notes, Wikipedia, and Semantic Scholar. Add content with one click.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✍️ Personal Notes&lt;/strong&gt;&lt;br&gt;
Every node has a personal note — not a review, but a reflection. "What did this give you?" is the core question.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔗 Meaningful Connections&lt;/strong&gt;&lt;br&gt;
Draw edges between nodes and explain why they're connected. Choose from edge types: Same Theme, Inspired By, Response To, Continuation, Contradicts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;👤 Public Profiles&lt;/strong&gt;&lt;br&gt;
Share your graph at &lt;code&gt;synaptive.app/u/username&lt;/code&gt;. Full SSR for SEO — bots see everything, users get the interactive canvas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🌍 i18n Done Right&lt;/strong&gt;&lt;br&gt;
Every string goes through &lt;code&gt;messages/en.json&lt;/code&gt; and &lt;code&gt;messages/tr.json&lt;/code&gt;. Server components use &lt;code&gt;getTranslations()&lt;/code&gt;, client components use &lt;code&gt;useTranslations()&lt;/code&gt;. Separate URLs per locale, hreflang tags, localized sitemap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📱 PWA + Mobile-First&lt;/strong&gt;&lt;br&gt;
Installable as a standalone app. Bottom nav on mobile, side panel on desktop. Touch-friendly graph interaction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📧 Email Verification Flow&lt;/strong&gt;&lt;br&gt;
Register → verification email → verify → welcome email. Credentials users must verify before login. OAuth users are auto-verified.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📝 Blog with SEO&lt;/strong&gt;&lt;br&gt;
Static blog at &lt;code&gt;/blog/[slug]&lt;/code&gt; with bilingual content, JSON-LD structured data, and sitemap integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture Decisions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why React Flow instead of force-directed graphs?&lt;/strong&gt;&lt;br&gt;
I started with &lt;code&gt;react-force-graph-2d&lt;/code&gt; but switched to &lt;code&gt;@xyflow/react&lt;/code&gt;. Users want to &lt;em&gt;place&lt;/em&gt; their nodes intentionally, not watch them bounce around. A knowledge graph is personal — the layout should be too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why not a SPA?&lt;/strong&gt;&lt;br&gt;
SEO matters. Public profiles and shared graphs need to be crawlable. Next.js App Router gives me SSR where I need it and client interactivity where it counts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why localStorage drafts?&lt;/strong&gt;&lt;br&gt;
Users were losing form data when accidentally closing modals. A simple &lt;code&gt;useDraft&lt;/code&gt; hook with debounced localStorage writes solved it. Draft clears on successful submit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why ISR for public pages?&lt;/strong&gt;&lt;br&gt;
Public profiles don't change every second. A 5-minute revalidation window means fast loads for visitors while keeping content fresh enough.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;i18n is not an afterthought.&lt;/strong&gt; Adding it later is painful. I baked it in from day one and it paid off.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Email verification changes the auth flow significantly.&lt;/strong&gt; You can't just add a check — the entire register → login → redirect chain needs rethinking.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Mobile overflow is death by a thousand cuts.&lt;/strong&gt; Every &lt;code&gt;minmax(260px, 1fr)&lt;/code&gt; grid, every &lt;code&gt;flex&lt;/code&gt; container, every pill filter — they all need mobile testing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Seed data makes your app feel alive.&lt;/strong&gt; An empty explore page kills interest. 18 users with 53 graphs and 137 nodes makes it feel like a community.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;👉 &lt;a href="https://synaptive.app" rel="noopener noreferrer"&gt;synaptive.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create an account, build your first graph, and connect the content that shaped your thinking.&lt;/p&gt;

&lt;p&gt;The connection is made by you, not an algorithm.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built by &lt;a href="https://synaptive.app/u/alperen" rel="noopener noreferrer"&gt;Alperen Eser&lt;/a&gt;. If you have questions about the architecture or want to discuss knowledge graphs, drop a comment below.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>typescript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
