Skip to content

salalinnocent/instagram-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Clone 🖼️

This project is a full-stack Instagram Clone built using React, Firebase, and modern hooks-based architecture. It supports authentication, profile routing, dynamic post fetching, and user state management.


🔧 Tech Stack

  • Frontend: React (with hooks)
  • Auth: Firebase Authentication
  • Database: Firebase Firestore
  • State Management: Zustand
  • Routing: React Router
  • Styling: Chakra UI

🧠 Key Features

  • 🔐 Firebase Authentication (Login/Signup)
  • 👤 Fetch user profiles from Firestore by username
  • 🧠 Global state with Zustand for user profiles
  • ⚡ Toast messages for error feedback
  • 🔁 Automatic routing to /username after login
  • 🏠 Protected HomePage and ProfilePage routes
  • 🔄 Realtime user profile and post syncing

src/ ├── components/ # Reusable UI components ├── hooks/ # Custom React hooks (e.g. useGetUserProfileByUsername) ├── pages/ # AuthPage, HomePage, ProfilePage ├── store/ # Zustand stores (userProfileStore, authStore) ├── firebase/ # Firebase config ├── App.jsx # Main entry point with routing ├── index.js # React DOM rendering

About

Created an Instagram Clone using React.js, ChakraUI, Firebase, Zustand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages