Skip to content

ganbold-adilbish/instagram-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

82 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ Instagram Clone

A modern, responsive Instagram clone built with Next.js 15, React 19, and Tailwind CSS. This project replicates the core Instagram experience with a clean, mobile-first design.

Next.js React Tailwind CSS

🌐 Live Demo: instagram-clone-prod.vercel.app


✨ Features

🏠 Home Feed

  • Responsive post feed with stories
  • Post display with like counts and descriptions
  • Instagram-style layout and navigation

πŸ‘€ User Authentication

  • Login and signup page UI
  • Form handling with custom hooks

πŸ” Explore

  • Grid layout of random posts
  • Click to view individual posts
  • Responsive design

πŸ’¬ Messaging

  • Inbox page with message interface
  • User chat list display
  • Message placeholder UI

πŸ‘€ Profile

  • User profile page with stats
  • Post grid layout
  • Profile image and bio display

πŸ“± Responsive Design

  • Mobile-first approach
  • Tablet and desktop optimized
  • Instagram-like navigation

πŸ› οΈ Tech Stack

  • Framework: Next.js 15 - React framework with App Router
  • UI Library: React 19 - Latest React with concurrent features
  • Styling: Tailwind CSS - Utility-first CSS framework
  • Icons: Custom SVG icons for authentic Instagram feel
  • Deployment: Vercel - Optimized for Next.js

πŸ“ Project Structure

instagram-clone/
β”œβ”€β”€ app/                    # Next.js App Router
β”‚   β”œβ”€β”€ (auth)/            # Authentication routes
β”‚   β”‚   └── accounts/      # Login & signup pages
β”‚   β”œβ”€β”€ (main)/            # Main app routes
β”‚   β”‚   β”œβ”€β”€ explore/       # Explore page
β”‚   β”‚   β”œβ”€β”€ inbox/         # Messages
β”‚   β”‚   β”œβ”€β”€ profile/       # User profile
β”‚   β”‚   └── p/[id]/        # Individual post pages
β”‚   └── api/               # API routes
β”œβ”€β”€ components/            # Reusable components
β”‚   β”œβ”€β”€ Navbar/           # Navigation bar
β”‚   β”œβ”€β”€ Post/             # Post component
β”‚   β”œβ”€β”€ Stories/          # Stories component
β”‚   β”œβ”€β”€ Sidebar/          # Sidebar with suggestions
β”‚   └── Footer/           # Footer component
β”œβ”€β”€ hooks/                # Custom React hooks
β”œβ”€β”€ public/               # Static assets
β”‚   β”œβ”€β”€ navbar/           # Navigation icons
β”‚   β”œβ”€β”€ post/             # Post interaction icons
β”‚   └── profile/          # Profile icons
└── styles/               # Global styles

πŸš€ Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/ganbold-adilbish/instagram-clone.git
    cd instagram-clone
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
    # or
    bun install
  3. Run the development server

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
  4. Open your browser

    Navigate to http://localhost:3000 to see the application.

πŸ“± Available Scripts

Command Description
npm run dev Start development server
npm run build Build for production
npm run start Start production server
npm run lint Run ESLint

🎨 Key Components

Navigation

  • Navbar: Instagram-style navigation with icons
  • Sidebar: User suggestions and navigation links

Content

  • Posts: Individual post components with interactions
  • Stories: Story carousel at the top of the feed
  • Feed: Main content area with posts

User Interface

  • Responsive Design: Works on all device sizes
  • Instagram-like theming: Clean, modern design
  • Smooth layout: Professional user experience

🌟 Features in Detail

Authentication System

  • Clean login and signup forms
  • Form state management with custom hooks
  • Basic API integration

Post Interactions

  • Post display with like counts
  • Comment and share button UI
  • Save post functionality UI

User Experience

  • Responsive design across devices
  • Clean navigation between pages
  • Professional Instagram-like interface

πŸš€ Deployment

This project is optimized for deployment on Vercel:

  1. Push your code to GitHub
  2. Connect your repository to Vercel
  3. Deploy automatically on every push

Live Demo: instagram-clone-prod.vercel.app

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is open source and available under the MIT License.

πŸ™ Acknowledgments

  • Inspired by Instagram's design and functionality
  • Built with modern web technologies for optimal performance
  • Optimized for performance and user experience
  • Special thanks to the open source community

⭐ Star this repository if you found it helpful!

Made with ❀️ by Ganbold Adilbish

About

Instagram Clone

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors