Flutter Web App Deploy on Firebase

Поділитися
Вставка
  • Опубліковано 17 чер 2023
  • Learn how to deploy flutter web app using Firebase. Firebase Hosting provides fast and secure web hosting for your web app, static and dynamic content, and microservices. In this tutorial, I will be showing you step by step how to host your flutter web using firebase so that your web app can be accessed through internet by everyone and most importantly it is Free of charge for hosting in firebase.
    Subscribe to our channel 👉 shorturl.at/uCET4
    #flutter #fluttertutorial #flutterwidgets #fluttercourse #flutterinhindi #mobileappdevelopment #vscode #reactnative
    Build a Flutter Todo App in 1 minute using ChatGPT
    • Build a Flutter Todo A...
    ChatGPT: Here's how to get a job at Google, Meta, Tesla ...
    • 5 Tips to get a job at...
    ChatGPT generates NFTs ! New Passive Income With ChatGPT !
    • How to generate images...
    I Lost $XXX after OpenAI's Secret Key LEAKED !!
    • I Lost $XXX after Open...
    Web Scraping using ChatGPT | Coded by ChatGPT
    • How to create a Web Sc...
    Flutter ChatGPT using OpenAI's GPT-3 | Flutter Chatbot
    • Flutter ChatGPT using ...
    How to Manage State Using Flutter GetX | Flutter State Management • GetX State Management ...
    How to Manage State Using Flutter Provider | Flutter State Management • Flutter Provider State...
    How to Solve Vertical viewport was given unbounded height | Flutter Common Error
    • How to Solve Vertical ...
    Installation & Configuration | Flutter Firebase Tutorial #1
    • Installation & Configu...
    Firebase RealTime Database (CRUD) | Flutter Firebase Tutorial #3
    • Firebase RealTime Data...
    How To Create A Flutter Table Calendar In Just 5 Minutes!
    • How To Create A Flutte...
    Dropdown in Flutter for creating flexible, reusable user interfaces
    • Dropdown in Flutter fo...
    Object-oriented Programming in Dart
    • OOP Tutorials
    Flutter Project Ideas
    • Flutter Project Ideas
    Flutter Package Tutorials
    • Flutter Package Tutorials
  • Наука та технологія

КОМЕНТАРІ • 63

  • @michaelwambua3372
    @michaelwambua3372 3 місяці тому +6

    This is the best step by step guide for deployment!!!!

  • @jayasri4821
    @jayasri4821 3 місяці тому +7

    The best time-saver video!....

  • @mohammedaziz8635
    @mohammedaziz8635 6 місяців тому +7

    Short, Clear & to the Point tutorial, Keep it Up!

  • @thisaragunasekara924
    @thisaragunasekara924 2 місяці тому +1

    My web site in mern stack with vite had client and server two parts how i host it in firebase

  • @ALIButt-xi8tu
    @ALIButt-xi8tu 5 місяців тому +1

    after click on url it shows import the firestore plugin??

  • @p_o_634
    @p_o_634 2 місяці тому +1

    Simple and fast. Cudos to you man !

  • @binarysensei
    @binarysensei 6 місяців тому +3

    Thx for saving me time, love you.

    • @AIWithFlutter
      @AIWithFlutter  6 місяців тому +1

      Welcome ! Appreciate that 🙏

  • @lcd11001
    @lcd11001 2 місяці тому

    Hello, where can I find full tutorial instead of only publish to Firebase Hosting step? Thank you

  • @VaibhavC-co1bi
    @VaibhavC-co1bi 2 місяці тому +1

    Thank you man your video really helped me i have wasted literally half day for this setup

  • @developerbs
    @developerbs 7 місяців тому +1

    very clear and nice. Thank you

  • @HinduBhaktiii
    @HinduBhaktiii 4 місяці тому

    Is it possible to deploy the mobile app for the preview

  • @mr_sufi...829
    @mr_sufi...829 2 місяці тому +1

    Short , Clear and Simple That's my brother keep it Up

  • @nosjin666
    @nosjin666 Місяць тому +1

    Amazing tutorial, thank you sir!

  • @registrationhelper
    @registrationhelper 7 місяців тому +1

    Very much helpful .Thanks

  • @caualeite3537
    @caualeite3537 8 місяців тому +1

    thank you!!!!! well made tutorial!

    • @AIWithFlutter
      @AIWithFlutter  8 місяців тому

      Welcome ! Appreciate that 🙏

    • @abhishekbansal8798
      @abhishekbansal8798 8 місяців тому

      did your application deployed easily mine didn't it is showing you have successfully deployed but not showing my web app pages

  • @angelominoia4627
    @angelominoia4627 17 днів тому +1

    Very helpfull, thank you so much!

  • @rabarhusen9170
    @rabarhusen9170 9 місяців тому +1

    thank you sir, it is pretty useful.

  • @krishnareddy5228
    @krishnareddy5228 3 місяці тому

    I am getting this error
    Error: It looks like you haven't created a Realtime Database inst
    ance in this project before. Please run firebase init database to
    create your default Realtime Database instance.

  • @tariiqd
    @tariiqd 6 місяців тому +2

    If you get to "Firebase Hosting Setup Complete" after deploy, try to run the firebase deploy from the build/web directory instead of your project root

  • @yejiayang
    @yejiayang 10 місяців тому +1

    great work !!! thanks

  • @GaryCuriano
    @GaryCuriano 2 місяці тому +1

    Thank you so muchhh. u saved my life 10 times

    • @AIWithFlutter
      @AIWithFlutter  2 місяці тому

      Welcome. Glad that it helps ! 🙏

  • @DilipKumar-qp3mv
    @DilipKumar-qp3mv Місяць тому +1

    Thanks, Man.

  • @tarunnayak9197
    @tarunnayak9197 11 місяців тому +1

    Why I get this error
    beginning deploy...
    Error: Directory 'build/web' for Hosting does not exist.

    • @AIWithFlutter
      @AIWithFlutter  11 місяців тому +3

      Hi, the error means you have not generated web hosting folder in your build directory. Run the following command to generate it .
      👉 flutter build web

  • @user-pp5vm5kq2m
    @user-pp5vm5kq2m 5 місяців тому +1

    Great...❤❤❤❤

  • @jengjacklim2954
    @jengjacklim2954 2 місяці тому +1

    HI , some of my web images and widgets (like graphs) not showing after I have deployed it. Any idea why ? Thanks !

    • @AIWithFlutter
      @AIWithFlutter  2 місяці тому

      Hi 👋, this could possible because when you run ‘flutter build web’, it don’t compile your asset images together. My suggestion would be to host your images somewhere on cloud (firebase cloud storage, AWS S3 bucket, ..). Then, display your image as NetworkImage().

    • @pauloalves2840
      @pauloalves2840 2 місяці тому

      Because for browser it defaults to canvaskit, but you want to use html:
      flutter build web --web-renderer html

    • @jengjacklim2954
      @jengjacklim2954 2 місяці тому

      @@pauloalves2840 It works. Thanks a lot !

  • @pam24
    @pam24 18 днів тому

    how you could find main.dart.js and flutter.js? I have no those files in my project

    • @Jepixo
      @Jepixo 16 днів тому

      run flutter build web first then those files will be created

  • @aadityasagar
    @aadityasagar 7 місяців тому +1

    thanks for this tutorial😄 i deployed the web but there is an issue, my assets images are not loading

    • @AIWithFlutter
      @AIWithFlutter  7 місяців тому

      Hi, thanks for your reply. This happens because you might added your assets images locally and display through relative path. There are 2 possible solutions. Firstly, upload your assets image folder together with the web folder and update the relative path. Secondly, host the images on cloud platform like firebase and display through as network images instead of asset images in your web application. Thanks !

  • @peshalele951
    @peshalele951 5 місяців тому +1

    I always find myself back to Firebase Hosting Setup Complete. How do I solve this so i can open my flutter web app?

    • @AIWithFlutter
      @AIWithFlutter  5 місяців тому

      Do you manage to run “flutter web deploy” command ?

  • @suhaibalhayek5369
    @suhaibalhayek5369 4 місяці тому +1

    thanks bro

  • @100yrsdeath
    @100yrsdeath 5 місяців тому +2

    How can I update my website?

    • @AIWithFlutter
      @AIWithFlutter  5 місяців тому +2

      Hi, update your website is the same way as how you deploy the website for the first time.
      step 1: run "flutter build web"
      step 2: run "firebase init hosting"
      step 3: run "firebase deploy"
      If you have deployed your website once, you can skip step 2 and go with step 1 and 3 directly.

  • @RNBnewsIndia
    @RNBnewsIndia 10 місяців тому +3

    How much will it cost for , chat app with 10k users

    • @AIWithFlutter
      @AIWithFlutter  10 місяців тому +2

      Hi, it depends on the firebase services that you used on the chat app. For chat app, you are required to use Cloud Firestore to read, write and store chat messages. Firebase has a Spark Plan that allows you to store 1 Gigabyte data , 20K writes/day and 50K reads/day for FREE. While this plan support 50K monthly active user. For more details, you can check out to firebase official pricing page.
      firebase.google.com/pricing

    • @RNBnewsIndia
      @RNBnewsIndia 10 місяців тому +1

      @@AIWithFlutter first of thanks for simple and quick reply ,
      20k writes means ,in total
      users will be able to send 20k massages daily ?

    • @AIWithFlutter
      @AIWithFlutter  10 місяців тому +1

      @@RNBnewsIndia yes, 20k messages can be written into firebase. For example, if you have 10k users, each user can only send 2 messages per day which don't really make sense to me. So I would suggest you to try out firebase Blaze Plan which pay as you use. Blaze Plan will still have all the benefits from Spark Plan such as 20k writes with No-Cost. After 20k writes, Blaze Plan will start charging as you use. For more information on the charging, you can checkout to firebase blaze plan pricing calculator.
      firebase.google.com/pricing#blaze-calculator

  • @umaluno2023uniaene
    @umaluno2023uniaene 18 днів тому

    Procurando comentário português