
Second Brain
CompletedSecond Brain is a full-stack knowledge management application designed to help users capture, organize, and resurface their thoughts and ideas. It features a clean, distraction-free editor, smart tagging, full-text search, and an intuitive dashboard that surfaces relevant notes when you need them most. The app uses server-side rendering for fast initial loads and optimistic UI updates for a snappy editing experience.
Why I Built This
I was frustrated with existing note-taking apps that either locked content in silos or made it hard to rediscover old ideas. I wanted a tool that actively helps surface relevant notes based on context — something that works like a second brain, not just a digital notebook.
Role
Full Stack Developer
Duration
3 months
Status
Completed
Tech Stack
NextjsTailwind CSSTypeScriptPostgreSQLPrisma
Key Features
- Smart tagging and categorization with auto-suggestions
- Full-text search across all notes powered by PostgreSQL
- Distraction-free markdown editor with live preview
- Dashboard with recently accessed and pinned notes
- Keyboard shortcuts for power users
- Dark mode support with system preference detection
Challenges & Solutions
- Implemented efficient full-text search using PostgreSQL tsvector for instant results across thousands of notes
- Designed an optimistic UI update pattern to make the editor feel instant while syncing in the background
- Handled complex tag relationship management with many-to-many associations
What I Learned
- Deep understanding of PostgreSQL full-text search capabilities
- Optimistic UI patterns with rollback on failure
- Server component vs client component architecture decisions in Next.js