SocialConnect – Fullstack Social Media App Live
-
User authentication (signup/login)
-
Profile management (avatar, bio, info)
-
Create/edit/delete posts with images
-
Like, comment, follow
-
Real-time notifications using Supabase Realtime
-
Admin dashboard for moderation
-
Frontend: Next.js (App Router), TypeScript, Tailwind, shadcn/ui
-
Backend: Supabase (PostgreSQL + Auth + Storage + RLS)
-
Real-time: Supabase Realtime Channels
-
Validation: Zod
-
UI Icons: Lucide React
npm install
Create .env.local and add:
NEXT_PUBLIC_SUPABASE_URL=YOUR_URL NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_KEY
Create buckets: avatars, posts
Make them public
Add storage policies
Create tables using given schema
Confirm RLS policies
Create a test user
npm run dev
App runs at http://localhost:3000
You can test the backend using:
Thunder Client / Postman
Supabase SQL Editor
Frontend forms after login
✔ Authentication ✔ Profile CRUD ✔ Post CRUD ✔ Follow/unfollow ✔ Likes & comments ✔ Image upload (2MB limit) ✔ Real-time notifications ✔ Admin tools ✔ Database triggers + RLS security