
Flox
Modern full-stack social media platform with Google OAuth, post creation, follow system, real-time notifications, and Prisma/PostgreSQL backend.
Timeline
3 Weeks
Role
Full Stack Developer
Status
CompletedTechnology Stack
Key Challenges
- Real-time notifications
- Follow graph queries
- Clerk OAuth integration
- Prisma relation management
Key Learnings
- Next.js App Router patterns
- Prisma ORM
- Clerk auth with webhooks
- Optimistic UI updates
Overview
Flox is a feature-rich social media application built with Next.js App Router, TypeScript, and a PostgreSQL backend via Prisma. It lets users create posts, engage with likes and comments, follow other users, and receive real-time notifications.
Key Features
Authentication
- Google OAuth and Email/Password login via Clerk
- Protected routes and webhook-driven user sync to the database
Social Graph
- Follow / unfollow system with follower/following counts
- Activity feed filtered to followed users
Content & Engagement
- Create, read, and delete posts
- Like and comment on posts with live counters
- Real-time notifications for likes, comments, and follows
Architecture
- Next.js App Router with server components and server actions
- Prisma ORM with a fully relational PostgreSQL schema
- Deployed on Vercel with preview branches for every PR
Tech Stack
Next.js 14 (App Router) · TypeScript · Clerk
Prisma · PostgreSQL (Neon) · Tailwind CSS · Vercel