A full-stack social media application (Instagram clone) built with modern web technologies, focusing on performance, responsive design, and real-time interactions.
Make sure you have
Node.js installed on your machine.
Create a .env.local file in the root of your project and add the following keys. You will need to get these from your Supabase dashboard:
1# Supabase
2NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
3NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
Bash
npm run dev
Open
http://localhost:3000 with your browser to see the result.
🗄️ Database Schema Overview
The application relies on a robust relational schema hosted on Supabase:
profiles: Stores user public data and avatars.
posts: Stores image URLs and captions.
likes & comments: Handles user engagements.
follows: Manages the follower/following social graph.