Skip to main content

Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial


Curriculum for the course Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial

Learn how to create an Instagram clone with React and JavaScript! This project uses React (custom hooks, useContext, useState, useEffect, useRef), Firebase (Firestore/auth), Tailwind CSS, LoadTest, Lighthouse, Vercel, React Testing Library and Cypress E2E Testing. This React project has multiple pages: login, sign up, dashboard (to view/like/comment on photos), and user profiles. The sign-in page connects to Firebase when a user tries to sign in, and when a user signs up, Firebase auth is used to store the user in the Firebase auth database. After the application is built you will learn how to deploy it to Vercel. ✏️ Course created by Karl Hadwen. Check out his channel: https://www.youtube.com/c/CognitiveSurge 💻 Code: https://github.com/karlhadwen/instagram ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:05:37) Showcase ⌨️ (0:15:28) Create React App (yarn) ⌨️ (0:18:22) Project Folder Structure ⌨️ (0:20:26) Installing Dependencies ⌨️ (0:22:47) Refactoring unnecessary files, refactoring code ⌨️ (0:29:18) Install ESLint ⌨️ (0:33:06) Creating Folder Structure & Architecture ⌨️ (0:43:05) Setup Firebase ⌨️ (0:44:22) Firestore ⌨️ (0:46:44) Firestore Rules ⌨️ (0:48:43) Firestore (Collections & Docs) ⌨️ (0:51:00) Firebase Authentication ⌨️ (0:53:59) Realtime Database (Explanation) ⌨️ (0:54:45) createContext in firebase.js ⌨️ (1:02:34) Creating App in Firebase ⌨️ (1:09:15) Start working on Login Page ⌨️ (1:10:17) Install React Router Dom ⌨️ (1:18:15) Create Routes ⌨️ (1:21:51) Continue working on Login Page (Part 2) ⌨️ (1:26:35) Tailwind.css Introduction ⌨️ (1:31:34) Continue working on Login Page (Part 3) ⌨️ (1:32:35) Install more dependencies ⌨️ (1:36:30) Change how all scripts work ⌨️ (1:40:21) yarn add postcss -D ⌨️ (1:40:57) Create components folder ⌨️ (1:34:19) Tailwind.css setup ⌨️ (1:35:51) Completed Tailwind Setup, Continue working on Login Page (Part 4) ⌨️ (1:39:28) Interjection: Field Value ⌨️ (1:41:56) Continue working on Login Page ⌨️ (2:01:47) Tailwind.config ⌨️ (2:06:05) Login Functionality (with Firebase) ⌨️ (2:11:12) Signup Page ⌨️ (2:22:53) Check for user created is a duplicate ⌨️ (2:54:49) Not Found & Dashboard Page ⌨️ (3:01:11) Created Timeline Component ⌨️ (3:01:28) Created Sidebar Component ⌨️ (3:01:47) Created Header Component ⌨️ (3:04:14) use-auth-listener.js Hook ⌨️ (3:11:23) users.js UserContext ⌨️ (3:15:38) Back to Header Component ⌨️ (3:42:21) Working on Dashboard Page ⌨️ (3:45:59) Working on Sidebar Component ⌨️ (3:46:15) use-user.js hook ⌨️ (4:04:20) In user.js ⇒ Introduction to prop types ⌨️ (4:25:03) Created Timeline.js ⌨️ (4:25:43) Explanation on useMemo ⌨️ (4:27:45) Add WhyDidYouRender ⌨️ (4:29:53) Struggling with some issues ⌨️ (4:42:42) Finally Figuring out some problems with WhyDidYouRender ⌨️ (4:50:41) Working on suggestion.js (sidebar completed) ⌨️ (4:59:20) Get suggested profiles ⌨️ (5:16:28) Functionality: Remove followed user from suggestion ⌨️ (5:23:12) Functionality: Update user’s following & followers ⌨️ (5:34:18) Overview on Timeline ⌨️ (5:40:47) Creating Post Component ⌨️ (5:42:57) Creating more custom hooks (usePhotos) ⌨️ (6:04:16) Rendering out the photos (using React skeleton) ⌨️ (6:10:55) Start work on Post Component ⌨️ (6:15:18) Components within Post ⌨️ (6:16:03) Header Component ⌨️ (6:20:56) Image & Actions ⌨️ (6:27:32) Service call in Firebase ⌨️ (6:42:44) Show Comments ⌨️ (6:51:13) Add Comments ⌨️ (7:12:26) Adding Protected Routes ⌨️ (7:27:13) Profile ⌨️ (7:30:20) Lazy load explanation ⌨️ (7:45:23) Continue working on Profile Page ⌨️ (7:58:48) Header Component in Profile Page ⌨️ (8:02:14) Profile Specific Header ⌨️ (8:18:00) Get User Photos ⌨️ (8:37:52) Continue working on header ⌨️ (9:20:31) Information in header ⌨️ (9:37:09) Photos Component in Profile Page ⌨️ (9:50:07) Recap of everything we’ve done ⌨️ (9:52:55) Start of Review ⌨️ (9:55:33) Not found header ⌨️ (9:57:04) Review of usePhotos, useUsers, isUserLoggedIn, ProtectedRoute ⌨️ (9:58:35) Review of contexts: firebase.js and user.js ⌨️ (9:58:57) Review of Routes & Posts ⌨️ (10:01:31) loadtest (Npm install -g loadtest) ⌨️ (10:15:27) Create a production build ⌨️ (10:38:28) Deployment to Vercel done but with issues ⌨️ (10:51:47) Issues fixed ⌨️ (10:52:19) Lighthouse ⌨️ (11:02:27) Wrapping up ⌨️ (11:04:13) Changes and Refactoring (Fixing Bugs) ⌨️ (11:48:50) Quick Look at Paid Version ⌨️ (11:49:59) Cypress ⌨️ (11:54:08) Signing Off -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

Watch Online Full Course: Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial


Click Here to watch on Youtube: Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial courses free download, Plurasight Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial courses free download, Linda Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial courses free download, Coursera Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

What's Hot

CVR Nummer : Register CVR Number for Denmark Generate and Test Online

CVR Nummer : Register CVR Number for Denmark Generate and Test Online | Image credit: Pexel What Is Danish CVR The Central Business Register (CVR) is the central register of the state with information on all Danish companies. Since 1999, the Central Business Register has been the authoritative register for current and historical basic data on all registered companies in Denmark. Data comes from the companies' own registrations on Virk Report. There is also information on associations and public authorities in the CVR. As of 2018, CVR also contains information on Greenlandic companies, associations and authorities. In CVR at Virk you can do single lookups, filtered searches, create extracts and subscriptions, and retrieve a wide range of company documents and transcripts. Generate Danish CVR For Test (Fake) Click the button below to generate the valid CVR number for Denmark. You can click multiple times to generate several numbers. These numbers can be used to Test your ...

Bing Homepage Quiz: Fun, Win Rewards, and Brain Teasers

Bing, Microsoft's search engine, has taken interactive engagement to the next level with its captivating feature - the Bing Homepage Quiz. This intriguing daily quiz not only challenges your knowledge but also offers a chance to earn rewards. In this comprehensive guide, we will explore the ins and outs of the Bing Homepage Quiz, including how to play, the different types of quizzes, and how you can earn and use rewards through this engaging feature. Bing homepage Quiz | Image credit: LanguageLassi How to Play the Bing Homepage Quiz Playing the Bing Homepage Quiz is simple and enjoyable. Here's how you can get started: Visit Bing : Open your preferred web browser and navigate to the Bing homepage (bing.com). Look for the Quiz : On the Bing homepage, keep an eye out for the interactive quiz card. This card is usually located near the bottom of the page and features a captivating image related to the quiz. Click to Start : Click on the quiz card to begin the quiz. It...

How To Iterate Dictionary Object

Dictionary is a object that can store values in Key-Value pair. its just like a list, the only difference is: List can be iterate using index(0-n) but not the Dictionary . Generally when we try to iterate the dictionary we get below error: " Collection was modified; enumeration operation may not execute. " So How to parse a dictionary and modify its values?? To iterate dictionary we must loop through it's keys or key - value pair. Using keys