Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

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

via freeCodeCamp

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Tutorial práctico de 12 horas en el que se construye desde cero un clon de Instagram con React, Tailwind CSS y Firebase. Cubre la creación del proyecto con Create React App y yarn, la estructura de carpetas y arquitectura, ESLint, la configuración de Firebase (Firestore, reglas de seguridad, colecciones y documentos, autenticación), páginas de login, registro, dashboard y perfil, componentes de timeline, sidebar, header y post, hooks personalizados y contextos, rutas protegidas con React Router, comentarios y seguidores, optimización con useMemo, lazy loading y skeletons, pruebas de carga, Lighthouse, Cypress y despliegue en Vercel. Dirigido a quienes ya conocen JavaScript y bases de React y quieren un proyecto completo full-stack en el frontend.

Syllabus

Introduction.
Showcase .
Create React App (yarn).
Project Folder Structure.
Installing Dependencies.
Refactoring unnecessary files, refactoring code.
Install ESLint.
Creating Folder Structure & Architecture.
Setup Firebase.
Firestore.
Firestore Rules.
Firestore (Collections & Docs).
Firebase Authentication.
Realtime Database (Explanation).
createContext in firebase.js.
Creating App in Firebase.
Start working on Login Page.
Install React Router Dom .
Create Routes.
Continue working on Login Page (Part 2).
Tailwind.css Introduction.
Continue working on Login Page (Part 3).
Install more dependencies.
Change how all scripts work.
yarn add postcss -D.
Create components folder.
Tailwind.css setup.
Completed Tailwind Setup, Continue working on Login Page (Part 4).
Interjection: Field Value.
Continue working on Login Page.
Tailwind.config.
Login Functionality (with Firebase).
Signup Page.
Check for user created is a duplicate.
Not Found & Dashboard Page.
Created Timeline Component.
Created Sidebar Component.
Created Header Component.
use-auth-listener.js Hook.
users.js UserContext.
Back to Header Component.
Working on Dashboard Page.
Working on Sidebar Component.
use-user.js hook.
In user.js ⇒ Introduction to prop types.
Created Timeline.js.
Explanation on useMemo.
Add WhyDidYouRender.
Struggling with some issues .
Finally Figuring out some problems with WhyDidYouRender.
Working on suggestion.js (sidebar completed).
Get suggested profiles.
Functionality: Remove followed user from suggestion .
Functionality: Update user’s following & followers.
Overview on Timeline.
Creating Post Component.
Creating more custom hooks (usePhotos).
Rendering out the photos (using React skeleton).
Start work on Post Component.
Components within Post.
Header Component.
Image & Actions.
Service call in Firebase.
Show Comments.
Add Comments.
Adding Protected Routes.
Profile.
Lazy load explanation.
Continue working on Profile Page.
Header Component in Profile Page.
Profile Specific Header.
Get User Photos.
Continue working on header.
Information in header.
Photos Component in Profile Page.
Recap of everything we’ve done.
Start of Review.
Not found header.
Review of usePhotos, useUsers, isUserLoggedIn, ProtectedRoute.
Review of contexts: firebase.js and user.js.
Review of Routes & Posts.
loadtest (Npm install -g loadtest).
Create a production build.
Deployment to Vercel done but with issues.
Issues fixed.
Lighthouse.
Wrapping up.
Changes and Refactoring (Fixing Bugs).
Quick Look at Paid Version.
Cypress.
Signing Off.

Taught by

freeCodeCamp.org

Reviews

Start your review of Create an Instagram Clone with React, Tailwind CSS, Firebase - Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.