Flutter Backend | Flutter Laravel Backend PHP | Flutter Rest API | Flutter Http Post Request

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 183

  • @camellaadam3475
    @camellaadam3475 3 года назад +17

    Please make more tutorial on laravel + flutter

    • @dbestech
      @dbestech  3 года назад +4

      Yes. Coming soon

  • @hninhnin8410
    @hninhnin8410 11 дней назад

    Hello sir
    I got this error from backend when I call user list api please help me
    Tymon\JWTAuth\Exceptions\TokenInvalidException
    Token Signature could not be verified.

  • @saulomiqueias4267
    @saulomiqueias4267 2 года назад +3

    Very good!! Do you have the figma of this layout to share?

  • @dbestech
    @dbestech  3 года назад +5

    If you have problems in article_page.dart line around line 128 in GestureDetector add, then try to look at this line. If you don't have this line, write this one MaterialPageRoute(builder: (context)=>DetailBookPage(articleInfo:articles[i], index:i))

  • @theBNOhourstudio
    @theBNOhourstudio 2 года назад

    best channel with complete and usefull information , I am just glad I get to know about it and please keep doing it

    • @dbestech
      @dbestech  2 года назад

      Thank you Puja, I will

  • @mreddygi
    @mreddygi Год назад

    i like people who don't use firebase in they tutorial...

  • @yusri-fuadhaas7667
    @yusri-fuadhaas7667 3 года назад +2

    awesome video. I was actually able to create a door access control system from this along with the admin panel.. just had to add a few things to the flutter system

    • @dbestech
      @dbestech  3 года назад +1

      Thanks for finding it useful.

    • @fredmhiche3614
      @fredmhiche3614 3 года назад

      @Yusri-Fuad Haas how did you do it?

    • @yusri-fuadhaas7667
      @yusri-fuadhaas7667 3 года назад

      Just followed the same principal as what is being used here.. integrated my backend with zk teco sdk and added nfc card emulation to the app

  • @jabedakhter6111
    @jabedakhter6111 3 года назад +1

    Excellent...Only problem I found is token is not generating when I register as a new user for signup which means denied me to sign in...Would you please let me know the way out...

    • @dbestech
      @dbestech  3 года назад

      Yes. I skipped the token generating part. But it should not denied. It keeps you signed in.

  • @fadilbasaran
    @fadilbasaran 2 года назад

    I just discovered your channel. I'm here now :))

  • @championlearningseries9779
    @championlearningseries9779 Год назад

    Is the backend still active?? Impressive project!!!

  • @moonnight9474
    @moonnight9474 3 года назад +2

    which are you will use package get managerstate ? getx or bloc ?

    • @dbestech
      @dbestech  3 года назад

      It's a good one bro. What's your opinion, I am ok with both.

    • @moonnight9474
      @moonnight9474 3 года назад +1

      @@dbestech oh so use getx :)

    • @dbestech
      @dbestech  3 года назад

      @@moonnight9474 OK bro. I will try.

  • @josephkennedy3200
    @josephkennedy3200 3 года назад +2

    Thanks for this tutorial

    • @dbestech
      @dbestech  3 года назад

      You are most welcome

  • @coach.azzawe
    @coach.azzawe 3 года назад +1

    thank u for this amazing tutorial,
    for backend should i create controllers and models again ,coz i couldnt found links in menu

    • @dbestech
      @dbestech  3 года назад

      You don't need to. Most of the work should be there. If you don't have, follow the video and create along with the video.

  • @taoapps5637
    @taoapps5637 Год назад

    Hi @dbestech, I followed carefully the tutorial without any problem, unfortunatelly the description doest show for welcome page... Here is the error. Thank you
    Class 'String' has no instance getter 'body'.
    Receiver: "failed me"
    Tried calling: body

    • @dbestech
      @dbestech  Год назад

      tell me the timeline, I will take a loook

    • @taoapps5637
      @taoapps5637 Год назад

      @@dbestech Thank you for the quick response. In the welcome_page.dart in _initData() funct, within setstate() line 52. I check the database type_id and update it as well within but nothing works.

  • @widiwidayat711
    @widiwidayat711 2 года назад +3

    Thats awesome! Thanks for this great tutorial. I'm your subscribers anyway.
    I have a question about the database, I tried to add new article, but recently there are some error, I think the structure from table in that db had many changed.
    I had to add some column like parent_id, author, is_recommend, and now there is an error said "Field 'keywords' doesnt have a default value"
    Any suggestion for this error? Thanks anyway!

    • @dbestech
      @dbestech  2 года назад +1

      Yes, it might have changed recently. You can give keywords default value in the database column

    • @widiwidayat711
      @widiwidayat711 2 года назад

      @@dbestech thanks, it done for the database, and solved it. But sorry, I ask question again.
      In my app, the article in welcome page only appear the last article. I try to debug, and the data actually doesnt have problem. Can you give me a suggestion about this bug?
      In welcome page, every slide only show data from last article. Thank you..

  • @tikka6554
    @tikka6554 3 года назад +2

    How you learned flutter at first time? And which year?

    • @dbestech
      @dbestech  3 года назад +1

      I started flutter this year. why?

    • @tikka6554
      @tikka6554 3 года назад +2

      @@dbestech who inspired you for coding 🤗

  • @ahadjamal1463
    @ahadjamal1463 3 года назад

    Register screen gets you registered and route to the article screen. What will we do if the user closes the app but if he opens up again he should direct routes to the article screen (because he's already registered) but not landing screen ?

    • @dbestech
      @dbestech  3 года назад +2

      Hi Ahad. thanks for asking. Yes, we need to make a bit of logical condition whether the user is logged in or not. We can read them from SharedPreference and check. and then redirect them

  • @oluchukwuughagwu8293
    @oluchukwuughagwu8293 Год назад

    I am unable to run pub get on the flutter project. It says: The lower bound of "sdk: '>=2.7.0

    • @dbestech
      @dbestech  Год назад

      yes, you need to upgrade flutter.

    • @oluchukwuughagwu8293
      @oluchukwuughagwu8293 Год назад

      @@dbestech I changed my sdk version to sdk: ">=2.12.0

    • @dbestech
      @dbestech  Год назад

      @@oluchukwuughagwu8293 upgrade that package or remove it. Or use other package for search

  • @arshwy
    @arshwy 2 года назад

    Good job keep it up.

    • @dbestech
      @dbestech  2 года назад +1

      Thank you, I will

  • @KevinCHABLIS-nm2rw
    @KevinCHABLIS-nm2rw Год назад

    Hi I followed the steps and I tried to adapt it to my project but at no time the block of is displayed

    • @dbestech
      @dbestech  Год назад

      print log and check what it returns

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 3 года назад

    it is possible to build a switch between lochost and protuktive system, which you then use when you go productive or want to develop the app further.

    • @dbestech
      @dbestech  3 года назад

      in general you should have localhost. Once your version is ready then you push for production.

    • @Sebastian-zs8cp
      @Sebastian-zs8cp 3 года назад

      @@dbestech yes put you need test environment to not disturb productive system

  • @boutiqueistanbul5674
    @boutiqueistanbul5674 3 года назад

    the keyboard gives an error when pressed ! checkered yellow black flutter error into the context build in to fix it! the file that came out is bad! after you say resize to avoid bottom inset at the bottom of the build context widget, it corrects to false in the summer!!

    • @dbestech
      @dbestech  3 года назад

      If you could give me the error screen shot? How did you fix it? I did not have those. again some of them are sdk version.

  • @ishmaelchitsonga9168
    @ishmaelchitsonga9168 Год назад

    Hello am running my own project and am getting this error "_ClientSocketException (Connection refused)"

    • @dbestech
      @dbestech  Год назад

      emulator problem. Not well connected to internet

  • @AbhimanyuNaikareWebDeveloper
    @AbhimanyuNaikareWebDeveloper 3 года назад

    Next video, do show which is open file name

  • @alfonsoromero3092
    @alfonsoromero3092 3 года назад

    hi, could you share the database of the laravel project that you use in this video? because if I install your github project (with artisan commands etc.) the database is not updated. I can't log in with: user: admin pass: admin. Thanks for teaching this, which is so interesting to me

    • @dbestech
      @dbestech  3 года назад

      Hi Alfonso, the database is given at the comment section. Pls check it out.

    • @alfonsoromero3092
      @alfonsoromero3092 3 года назад

      I already found the file and it works, now to continue learning. Thank you so much

  • @chukslite
    @chukslite 3 года назад

    Good tutorial. Can I deploy this to namecheap and app stores?

    • @dbestech
      @dbestech  3 года назад

      Hi General, there are more work needed to be done if you want to put on the app store. But with this tutorial, we have covered the core of this app. If you want to publish, you need to polish it. Like trying in many different devices.

  • @dbestech
    @dbestech  3 года назад +1

    If you problems in all_books.dart in SingleChildScrollView around line 99, about materialpageroute, then make sure that, you call it like this MaterialPageRoute(builder: (context)=>DetailBookPage(articleInfo:article, index:0))

  • @malikimoustapha4061
    @malikimoustapha4061 Год назад

    hello, thanks for the tuto, But have an issue. When I try to click the article type form admin panel menu I get Undefined index: parent_id
    The same issue appears when I try to add new article as:
    ErrorException In ModelTree.php line 267:
    Undefined index: parent_id
    Please help me solve the issue. I have clone the same repos from github.
    Thanks in advance.

    • @dbestech
      @dbestech  Год назад

      try to add a field in the database name "parent_id" and see

    • @malikimoustapha4061
      @malikimoustapha4061 Год назад

      @@dbestech yes one if the reply helped me in that way, i just add parent_id field in the db. Thanks

  • @guru-pathik
    @guru-pathik 3 года назад

    Is it possible to have updated code for this? Backend especially; wasnt able to create any articles or types

    • @dbestech
      @dbestech  3 года назад

      Hi Anish, what are the problems are you facing? Mostly they should be permission problem.

  • @crazy-man
    @crazy-man 2 года назад

    how about using dart servers to create rest api instead of laravel ? one hundred think, otherwise php is hard to learn dart has already been fully studied

    • @dbestech
      @dbestech  2 года назад +1

      that's a good idea. But dart does not have good framework yet. PHP relatively easy.

    • @crazy-man
      @crazy-man 2 года назад

      @@dbestech I've heard that if write a rest API through laravel, the database there will be protected from SQL injections, you don't have to worry about data protection, is that right?

    • @dbestech
      @dbestech  2 года назад +1

      @@crazy-man yes. Laravel has strong security setup on its own

  • @marlontamo9114
    @marlontamo9114 2 года назад

    Hi how can i set the permissions?because i am able to install and run the laravel but when i logged in it says permission denied

    • @dbestech
      @dbestech  2 года назад

      Open the debug mode and see why forbidden

  • @Amanel666-scald
    @Amanel666-scald 3 года назад

    Good videos

    • @dbestech
      @dbestech  3 года назад

      Glad you like them!

  • @szyszak9424
    @szyszak9424 2 года назад

    would u recommend some specific course at backend in flutter?

    • @dbestech
      @dbestech  2 года назад +1

      Go with Laravel

    • @ahmedbathily7013
      @ahmedbathily7013 2 года назад +2

      @@dbestech if I have no background in PHP can I learn and use laravel?

  • @BrYarDJ
    @BrYarDJ 3 года назад

    make more video about flutter and laravel

    • @dbestech
      @dbestech  3 года назад

      Yes releasing one today.

  • @thomaspotterdotexe
    @thomaspotterdotexe 3 года назад

    What library did you use for that type id in 3:58 ? is that jquery select? thanks

    • @dbestech
      @dbestech  3 года назад +1

      Bro, there is not jquery here, it's all flutter.

  • @aqueebtest573
    @aqueebtest573 2 года назад

    Hey can you make a vidoe regarding how host databases like sql or mango db thanks in advance

    • @dbestech
      @dbestech  2 года назад

      Thanks for the idea!. I will cover this on in upcoming e-commerce tutorial

  • @qubee-tech
    @qubee-tech 2 года назад

    Wow!

  • @guru-pathik
    @guru-pathik 3 года назад

    Thanks for the tutorial, followed all the instructions but my menus on LA are not showing. Please help.

    • @dbestech
      @dbestech  3 года назад +1

      do you get any error?

    • @guru-pathik
      @guru-pathik 3 года назад

      @@dbestech nope no errors.

    • @guru-pathik
      @guru-pathik 3 года назад

      @@dbestech getting this after creating menus manually on articletype - ErrorException In ModelTree.php line 267 : Undefined array key "parent_id"

    • @dbestech
      @dbestech  3 года назад

      @@guru-pathik Hi Anish, were you able to solve the problem?

    • @guru-pathik
      @guru-pathik 3 года назад

      @@dbestech no luck

  • @jailsoncarneiro4936
    @jailsoncarneiro4936 2 года назад

    Show de Bola!

    • @dbestech
      @dbestech  2 года назад

      Not sure about the meaning.

  • @kelvinkilomo41
    @kelvinkilomo41 3 года назад

    can i add this to my already existing laravel-flutter api project

  • @johnsunnyjohnsunny4296
    @johnsunnyjohnsunny4296 2 года назад

    hi sir, im a beginner and i have live running website and im try to convert it into a app and i have designed my own ui in flutter and how do i pull the login data from the website

    • @dbestech
      @dbestech  2 года назад

      You need to do it through using api. You also need to know how to build api.

    • @johnsunnyjohnsunny4296
      @johnsunnyjohnsunny4296 2 года назад

      @@dbestech sir do you have any tutorials on how to build API and use it pls let me know sir pls sir...and thanks for replying

  • @ryuu1246
    @ryuu1246 Год назад

    hello i can't find login page on laravel please help me

  • @rishneelchand195
    @rishneelchand195 3 года назад

    hi..may i know how did u implement the text editor in the article content?is it a html text editor?
    thanks

    • @dbestech
      @dbestech  3 года назад

      Soon, I will have a tutorial on that. Stay toned.

    • @rishneelchand195
      @rishneelchand195 3 года назад

      @@dbestech thanks..will watch it...but actaully I had an project due soon..so till then cud u suggest a good website or video for applying this?

    • @dbestech
      @dbestech  3 года назад +1

      @@rishneelchand195 Yes. Twitter me pls @dbestech

  • @faresrayaaene7290
    @faresrayaaene7290 3 года назад

    the part of ""Flutter image upload"" which minutes that he starts ??

    • @dbestech
      @dbestech  3 года назад

      Hi fares, I am not following your question

  • @dimasadi9852
    @dimasadi9852 2 года назад

    when i try to add some article, there was an error says there is no some column on some table . maybe you can upload the new database please

    • @dimasadi9852
      @dimasadi9852 2 года назад

      1. when you want to add article it says error because there is no paren_id field in articel inside article_type table
      2. its the same error when you want add book list , it says there is no author field inside the article table

    • @dbestech
      @dbestech  2 года назад

      Hi Dimas, It's been long time I did that. I need to check and get back to you again.

    • @dimasadi9852
      @dimasadi9852 2 года назад

      @@dbestech thank you so much sir . please, i really need this project for my study

    • @dimasadi9852
      @dimasadi9852 2 года назад

      @@dbestech umm one more. i already have a flutter project from your github. but when i run it's error

  • @habetech
    @habetech 3 года назад

    Cannot open file, path = 'C:\Users\SultanWorks\Documents\flutter_sdk\.pub-cache\_temp\dircd27eaa2\example\windows\CMakeLists.txt' (OS Error: Access is denied.
    , errno = 5)
    pub get failed (66; , errno = 5))

    • @dbestech
      @dbestech  3 года назад

      Hi Halil, what's this CMakeLists.txt file. This link may help you stackoverflow.com/questions/54233412/flutter-pub-get-failed-66

  • @moonnight9474
    @moonnight9474 3 года назад

    thank u very much

    • @dbestech
      @dbestech  3 года назад +1

      You are most welcome

  • @deequi77
    @deequi77 3 года назад

    I am begging you to do a Django Flutter video tutorial.please

    • @dbestech
      @dbestech  3 года назад

      Hi Dee, I am not good at Python, sorry about it.

    • @deequi77
      @deequi77 3 года назад

      @@dbestech understand no problem. Btw I really want to contact you regarding a paid collaboration

    • @dbestech
      @dbestech  3 года назад

      @@deequi77 Glad to know that. You can find me twitter. It's @dbestech

    • @deequi77
      @deequi77 3 года назад

      @@dbestech I don't have a Twitter account though. But if you share your email or I send here my email

  • @ahmedfouda45
    @ahmedfouda45 2 года назад

    error in admin page:
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'parent_id' in 'field list' (SQL: insert into `article_types` (`parent_id`, `title`, `description`, `order`, `updated_at`, `created_at`) values (0, welcome, ?, 1, 2022-07-05 16:30:11, 2022-07-05 16:30:11))

    • @dbestech
      @dbestech  2 года назад

      then try to create a column name as "parent_id" and see. Let me know what happens...

    • @ahmedfouda45
      @ahmedfouda45 2 года назад

      it works then at article ask about 'auther' and 'is_recommend' column, i did them but when i refresh the app to see the welcomeinfo nothing appear?

    • @ahmedfouda45
      @ahmedfouda45 2 года назад

      could you please upgrade this app?
      and put pdfviewer page there?

  • @deenaadam5878
    @deenaadam5878 2 года назад

    There is no token for the users, its always 'true'

  • @MostafaMohamed-nu9xo
    @MostafaMohamed-nu9xo 2 года назад

    what's username and password for laravel panal admin doesn't work

  • @walleworkie
    @walleworkie 11 месяцев назад

    what is the state management? or no state management

    • @dbestech
      @dbestech  11 месяцев назад

      It did not use state management.

  • @MrCamdere
    @MrCamdere 3 года назад

    Bro we have to build this Project from scratch 😀

  • @aryaseptiawan9239
    @aryaseptiawan9239 3 года назад

    why when i run debug i have problem with _getToken async. Then what is the solution?

    • @dbestech
      @dbestech  3 года назад

      Hi Arya, what is the exact problem? Can you put here more?

    • @aryaseptiawan9239
      @aryaseptiawan9239 3 года назад

      when i run debug in visual studio code with google chrome having problem on browser_client.dart and my_api.dart

  • @peyvandd
    @peyvandd 3 года назад

    Nice😎

  • @christianissick
    @christianissick 3 года назад

    Can I do these using VS Code?!

    • @dbestech
      @dbestech  3 года назад

      of course you can. that's just an editor. if your flutter is well installed you can do it.

  • @hermanpato1244
    @hermanpato1244 3 года назад +1

    2:41 How to configuration execute in windows Sir..?

    • @dbestech
      @dbestech  3 года назад +1

      I have done one long ago on windows server. for the last few years I have used linux. But the logic is same. You may need to small changes on windows server. You need to confiture the virtual host on windows. You may follow this link
      stackoverflow.com/questions/2658173/set-up-apache-virtualhost-on-windows

    • @cubedev4838
      @cubedev4838 3 года назад

      @@dbestech why u move to linux

    • @dbestech
      @dbestech  3 года назад

      @@cubedev4838 It's very lightweight and developer friendly. Why google made android based on linux?

    • @cubedev4838
      @cubedev4838 3 года назад

      @@dbestech ohhh i see...i should try also, how many pc u have?i always use windows because of cheap, i wanna buy mac because of i dont have choice when to develope ios app, is it worth to buy mac? I always think many time

  • @progressiveways917
    @progressiveways917 Год назад

    Unable to get the number of articles based on three dots

    • @dbestech
      @dbestech  Год назад

      wht do you get?

    • @progressiveways917
      @progressiveways917 Год назад

      @@dbestech Thanks for replying..actually three dots wasn't working on chrome..but it worked fine on android phone

  • @syfigaming4281
    @syfigaming4281 3 года назад

    Please, next timee tutorial accses token jwt in flutter real project

    • @dbestech
      @dbestech  3 года назад +1

      yes, there's one coming next week.

    • @syfigaming4281
      @syfigaming4281 3 года назад

      @@dbestech okee dude, thanks y

  • @dev.faizan
    @dev.faizan 2 года назад

    what are the requirements for learning Laravel

    • @dbestech
      @dbestech  2 года назад +1

      not much. It's very easy

  • @himajanimmanagoti7747
    @himajanimmanagoti7747 3 года назад

    how did you generate model in flutter code.

    • @dbestech
      @dbestech  3 года назад

      Hi Himaja, that was a manual way creating the model. Not special tools

  • @adyamusicdigital7272
    @adyamusicdigital7272 2 года назад

    how to search ? pls add video

  • @jameslearn8757
    @jameslearn8757 2 года назад

    I can't log in with: user: admin pass: admin.

    • @dbestech
      @dbestech  2 года назад

      What error you get? Password try 123456

  • @adyamusicdigital7272
    @adyamusicdigital7272 2 года назад

    backend is broken? i cant add article types

    • @dbestech
      @dbestech  2 года назад

      Hi Arif, which link you are trying? Are you trying my server?

    • @adyamusicdigital7272
      @adyamusicdigital7272 2 года назад

      @@dbestech no. but my problem is done

    • @BaiLanRenSheng
      @BaiLanRenSheng 4 месяца назад

      may i know how u solve this?

  • @mhsamhsa5456
    @mhsamhsa5456 2 года назад

    Can you gave me the source code

  • @gggg-no6rm
    @gggg-no6rm 2 года назад

    where is the upload image time ?

    • @dbestech
      @dbestech  2 года назад

      I am not clear about your question. Can you describe in detail?

    • @gggg-no6rm
      @gggg-no6rm 2 года назад

      @@dbestech 10. Flutter image upload

  • @syedasaleha475
    @syedasaleha475 3 года назад

    why i did'n get data in localhost

    • @dbestech
      @dbestech  3 года назад

      what's the error you?

    • @syedasaleha475
      @syedasaleha475 3 года назад

      @@dbestech I got the problem, now is ok, thank u for your tutorial

    • @dbestech
      @dbestech  3 года назад

      @@syedasaleha475 You are most welcome

    • @haniffamrynudin8556
      @haniffamrynudin8556 3 года назад

      hai @@syedasaleha475 , I got same problem with you.. I did'nt get data in localhost.. i have run php artisan serve in open it but i just got welcome page from laravel. what are u doing for this probem??

    • @tanmayninawe1103
      @tanmayninawe1103 2 года назад

      hello, Can u help me to solve this thing. please.

  • @Begadowlet
    @Begadowlet 5 месяцев назад

    it's don't work!

    • @dbestech
      @dbestech  5 месяцев назад

      what exactly does not work?

  • @dbestech
    @dbestech  3 года назад +1

    Add me on twitter for specific problem to talk about. Thanks.

  • @dbestech
    @dbestech  3 года назад +3

    Hi guys, if you get error with permission when you login to your admin panel, try to use the database here. its www.dbestech.com/mark_laravel.sql.zip