Case file 02 / 05
CodeBook
A social platform built exclusively for developers.
Visit codebook-phi.vercel.app- Role
- Full Stack Engineer
- Category
- Community · Full stack
- Status
- Live in production
CodeBook is where developers share code, discuss problems and collaborate. Snippets are first-class content, edited in the same Monaco editor that powers VS Code.
The frontend is a Next.js app with React Query and Zustand; the backend is an Express REST API over MongoDB, with GitHub OAuth for sign-in.
Architecture
- 01ClientNext.js · React Query · Zustand
- 02AuthGitHub OAuth
- 03APINode.js · Express REST
- 04DatabaseMongoDB · Mongoose
What I did
- 01Designed and built both the Next.js client and the Node.js / Express API.
- 02Integrated the Monaco editor for writing and sharing syntax-highlighted snippets.
- 03Built posts, threaded comments, likes, bookmarks, follows and bounties.
- 04Implemented GitHub OAuth and developer profiles with verification badges.
Key features
◆Code snippets
◆Monaco editor
◆Discussions
◆Bounties
◆Follow system
◆GitHub OAuth
Stack
Next.jsTypeScriptTailwind CSSshadcn/uiReact QueryZustandNode.jsExpressMongoDB