01. Problem Identification
Early-stage startup founders face high friction when launching products, publishing pitch decks, and collecting early feedback from peers or developers. Established databases (like Crunchbase) are geared towards funded companies, while generic forums lack structured product pitch metrics and upvote tracking.
Lack of an open, YC-style pitch directory tailored for solo founders.
High development overhead required to build robust real-time upvote systems.
Complex user authentication processes that increase onboarding friction.
02. The Solution
YC Directory addresses this by pairing Next.js App Router with Sanity CMS. Founders authenticate with a single click using GitHub OAuth via Auth.js, publish markdown-formatted product pitches, and receive community upvotes. Dynamic GROQ APIs fetch and order projects based on real-time feedback loops. (Note: This project was built as a learning case study following the JavaScript Mastery YouTube channel tutorial.)
Leverages Auth.js (NextAuth) to verify developers and founders securely without passwords.
Uses Sanity Studio for real-time schema editing, image handling, and GROQ query parsing.
Enables instant upvote mutations directly syncing with Sanity GROQ datasets.
03. Crafting & Engineering
System Architecture Flow
Technology Selection
Key Engineering Challenges Solved
- Enforcing secure write access permissions on Sanity mutations to prevent spoofed or repeated votes.
- Configuring instant type generation using Sanity typegen bindings in a TypeScript Next.js workspace.
- Structuring the layout to handle large markdown files rendered on edge servers.