Build an expense tracker web app with Firebase and React

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2024
  • Andrea Wu will show you how to build an expense tracker web application using Firebase and React. In this video, learn how to use Firebase Authentication, Cloud Storage, Cloud Firestore, and Hosting to build an expense tracker where a user can create an account and log in, add, view, edit, and delete receipts.
    Chapters:
    0:00 - Introduction
    2:29 - What is Firebase?
    4:17 - Code Setup
    5:33 - Firebase Console Setup
    9:27 - Authentication
    26:37 - Cloud Storage: Introduction, Setup, Adding a Receipt
    33:41 - Cloud Storage vs Cloud Firestore
    34:37 - Cloud Firestore: Introduction, Setup, Adding a Receipt
    44:47 - Storage and Firestore: Editing a Receipt
    50:04 - Storage and Firestore: Deleting a Receipt
    52:19 - Hosting
    52:59 - Final App
    Resource:
    Code repo → goo.gle/3VCEmmv
    Catch more videos → goo.gle/FirebaseCodealong
    Subscribe to Firebase → goo.gle/Firebase
    #FirebaseCodealong
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 63

  • @guillebril
    @guillebril ปีที่แล้ว +5

    I've always been a fan of all video content the firebase team makes. Thanks guys! good job!

  • @PeterTroutman
    @PeterTroutman ปีที่แล้ว +6

    Literally exactly what I wanted to learn this weekend

  • @ihateorangecat
    @ihateorangecat ปีที่แล้ว +1

    thanks!!
    please do more codealong videos like this, they're indeed useful.

  • @ecostaneves
    @ecostaneves ปีที่แล้ว +2

    Now the link repo is working guys 👏🏽👏🏽

  • @zakaria5775
    @zakaria5775 ปีที่แล้ว

    Thank you so much for this interesting course👏🏻

  • @kenken-pp5lc
    @kenken-pp5lc ปีที่แล้ว +3

    This Video is Fire!!!

  • @doogan91
    @doogan91 10 หลายเดือนก่อน +4

    This tutorial utilizes the library react-firebaseui, which appears to no longer be maintained and is not compatible with FIrebase v9. Tutorial was good, but I had to stop around the 18 minute mark as I could no longer code along with the host. It's been hard to come by a react + firebase tutorial that is up to date with firebase v9.

  • @cj1871
    @cj1871 ปีที่แล้ว +4

    The process for creating the Firestore seems to have changed slightly, as the 'create database' option is replaced text stating 'This project is set up to use Cloud Firestore in Datastore mode.' and links to Google Cloud Console. Should we be setting up an entity in Google Cloud?

  • @Sebastien_fr95
    @Sebastien_fr95 ปีที่แล้ว +7

    Nice video! It could be nice aswell to have the same with react native !

  • @rahulgupta7720
    @rahulgupta7720 11 หลายเดือนก่อน

    Such a nice and informative video!!1

  • @chrisl_ca
    @chrisl_ca ปีที่แล้ว

    awesome video!

  • @shahinakther4405
    @shahinakther4405 6 หลายเดือนก่อน +1

    Thanks the kind information

  • @warehousevirtuals
    @warehousevirtuals ปีที่แล้ว +1

    That is what i need thank you

  • @chrisl_ca
    @chrisl_ca ปีที่แล้ว

    look forward to the next videos

  • @niksave
    @niksave ปีที่แล้ว

    the code to implement identification tracking in the profile section when a user changes their email address after registering, should that be done inside auth.js ? Or lets say profile.js file of the codebase? If it is in profile.js what sort of a code line should be written to implement tracking?

  • @havefun5519
    @havefun5519 ปีที่แล้ว

    Very clear, step by step, I think my first firebase + react app needs a big refactor.

  • @ivannguimtsa1856
    @ivannguimtsa1856 ปีที่แล้ว +16

    Hey
    Thank your for the video but the link to the repo is not available. It redirect me to a 404 page.

    • @roland97008
      @roland97008 ปีที่แล้ว +1

      still a 404

    • @mariogreco729
      @mariogreco729 ปีที่แล้ว +1

      Same!

    • @RichardHyndman
      @RichardHyndman ปีที่แล้ว +1

      Thanks! we've updated the description now github.com/firebaseextended/expense-tracker

  • @hubertryan
    @hubertryan ปีที่แล้ว

    Very nice!!!

  • @gregcurlewis8751
    @gregcurlewis8751 ปีที่แล้ว +1

    Can we also have this for angular please?

  • @raktim24
    @raktim24 ปีที่แล้ว

    Can there be a comprehensive tutorial for react native as well.

  • @GermanoGiuliani
    @GermanoGiuliani ปีที่แล้ว +4

    Any info on when the repo will be available? Would love to follow the video. Thanks a lot.

    • @RichardHyndman
      @RichardHyndman ปีที่แล้ว +1

      Thanks Germano, we've updated the description with the repo now github.com/firebaseextended/expense-tracker

  • @sahilthakur6979
    @sahilthakur6979 ปีที่แล้ว

    Can you make video on user IAM with custom roles and permissions.

  • @CarlJin
    @CarlJin ปีที่แล้ว

    dude that was helpful

    • @THEARPE07
      @THEARPE07 8 หลายเดือนก่อน

      dude ??? LOL

  • @haldousuxley
    @haldousuxley 9 หลายเดือนก่อน +2

    cool but react firebaseui is not compatible with Firebase v10 anymore, also not supported by react v18 :/

  • @kushagradiwan1258
    @kushagradiwan1258 ปีที่แล้ว +1

    StyledFirebaseAuth is not working in mine. I ve cross verified and installed the required dependencies and yet it says. What is something I coould be missing. It is something we entirely import from react .!
    'StyledFirebaseAuth' is not defined react/jsx-no-undef
    .

  • @samuelasiabaka365
    @samuelasiabaka365 ปีที่แล้ว +2

    Can't even get the app to run, facing bunch of errors

  • @nihar8783
    @nihar8783 ปีที่แล้ว +1

    authorisation section would be appreciated,its the most confusing part of firebase

  • @alexanderbarishenko
    @alexanderbarishenko ปีที่แล้ว

    after npm install node-modules size 16GB+ seriously?

  • @annielouise1141
    @annielouise1141 ปีที่แล้ว

    i m not able to add reciept

  • @jslee423
    @jslee423 ปีที่แล้ว +1

    Hi. Hopefully someone can help me. I'm trying to deploy my app but when I go to URL, I get a "Welcome Firebase Hosting Setup Complete" page. Am I missing something? Any help would be awesome! Thanks!

    • @jslee423
      @jslee423 ปีที่แล้ว +2

      figured it out. For anyone else having this issue. I updated the build script to "next build && next export" which generates a folder "out" which you can then specify as the public directory when running firebase init hosting

    • @carlosamoreno9013
      @carlosamoreno9013 ปีที่แล้ว

      @@jslee423 This worked for me, not sure why it works, but it does! thanks!

    • @kamaljeetsharma3678
      @kamaljeetsharma3678 ปีที่แล้ว

      @@jslee423 thank you sir

  • @MrDuff158
    @MrDuff158 ปีที่แล้ว +1

    I'm assuming the repo was accidentally left private or something? No sign of it at all.

    • @RichardHyndman
      @RichardHyndman ปีที่แล้ว

      Thanks! We've updated the description now github.com/firebaseextended/expense-tracker

  • @carlosamoreno9013
    @carlosamoreno9013 ปีที่แล้ว

    min:44 dying for the no-joke joke 😄

  • @6_feet
    @6_feet ปีที่แล้ว +1

    cloud firestore has some errors. plz help

  • @farantariq4295
    @farantariq4295 ปีที่แล้ว +13

    Fix git repo please 404

    • @RichardHyndman
      @RichardHyndman ปีที่แล้ว +1

      Thanks, we've fixed it now!

    • @Tonkuz
      @Tonkuz ปีที่แล้ว

      @@RichardHyndman it’s still not working

  • @bankoledada
    @bankoledada ปีที่แล้ว

    not much of a developer - followed to the end and still couldnt get the view i wanted. thought it was the script policy on my laptop but resolved that and still hit a wall. Shame i had to delete this

  • @ecostaneves
    @ecostaneves ปีที่แล้ว

    I don't know for you guys, right after I attached Firestore Database, the app doesn't load :(

    • @6_feet
      @6_feet ปีที่แล้ว

      exactly. I've been having the same error

    • @6_feet
      @6_feet ปีที่แล้ว

      did you get to fix it?

    • @6_feet
      @6_feet ปีที่แล้ว

      kinda in the same situation help please

    • @ecostaneves
      @ecostaneves ปีที่แล้ว

      @@6_feet I quit ! I’ve switched to AWS amplify

    • @6_feet
      @6_feet ปีที่แล้ว

      Ok thanks 👍

  • @Tonkuz
    @Tonkuz ปีที่แล้ว

    First make sure that the git project working .No package.json .

  • @kamaravichow
    @kamaravichow ปีที่แล้ว

    Google ditching angular and making a react tutorial 😂

  • @ArturoBandiniWannabe
    @ArturoBandiniWannabe ปีที่แล้ว +1

    Why no love for Dart. Give us native Firebase Admin SDK. Dart is already capable enough for backend dev...

  • @CesarDavidMorenoRamirez
    @CesarDavidMorenoRamirez 4 หลายเดือนก่อน

    React firebase ui is dead!!!!!!!!!!!!!

  • @TMac117
    @TMac117 ปีที่แล้ว

    Hmm I am hitting an issue with the redirect from the singin/login dialog. It logs in or signs up a new account and they exist in firebase but I get the message "No redirect URL has been found. You must either specify a signInSuccessUrl in the configuration, pass in a redirect URL to the widget URL, or return false from the callback."
    const REDIRECT_PAGE = '/dashboard';
    //config FirebaseUI
    const uiConfig = {
    signInFlow: 'popup', //signIn flow with popup rather than a redirect
    signInSuccessfulUrl: REDIRECT_PAGE,
    signInOptions: [
    EmailAuthProvider.PROVIDER_ID,
    GoogleAuthProvider.PROVIDER_ID
    ]
    }
    export default function Home() {
    const router = useRouter();
    const [login, setLogin] = useState(false);
    return (

    Expense Tracker

    Welcome to Expense Tracker!
    Add, view, edit, and delete expenses
    setLogin(true)}>
    Login / Register

    setLogin(false)}>


    );
    }

    • @TMac117
      @TMac117 ปีที่แล้ว +1

      signInSuccessURL.... NOT signInSuccessfulURL. That solved it.

  • @otockian
    @otockian ปีที่แล้ว +5

    I would highly advise people to use react-firebase-hooks to make their lives significantly easier.

    • @JavierSuzuki
      @JavierSuzuki ปีที่แล้ว +1

      Any advice to consider when using react-firebase-hooks?
      What are its Pros (in addition to simpler implementation) and Cons (if any)?
      Thanks!!