Serverpod with Flutter | CRUD operations tutorial (Part 2)

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 67

  • @allhzzenmiserable2295
    @allhzzenmiserable2295 Рік тому +3

    Failed to connect to the database. Retrying in 10 seconds. SocketException: The remote computer refused the network connection.
    (OS Error: The remote computer refused the network connection.
    , errno = 1225), address = localhost, port = 54421

  • @rafante2
    @rafante2 10 місяців тому

    MINDBLOWING!!!!!!!!!! I'M GONNA FAINT! Amazing! I loved this ServerPod!!!

  • @bilalsimsek7306
    @bilalsimsek7306 10 місяців тому

    Nice video series. I always recommend your videos to whom start to learn flutter. I also always check your tutorials even I m developing apps in flutter for 4 years. I just want to add one thing for these toturials that with latest upgrade of serverpod, protocols directory named models and, model creates its own repository called db. CRUD ops will be totaly removed to this repository class. and also update insert or delete ops for single article now called like Article.db.insertRow(), Article.db.updateRow() , Article.db.deleteRow().. etc, insert,update,delete methoths now expect list of models that operates bunch of ops at the time.

    • @CodeXdev
      @CodeXdev  10 місяців тому

      Much appreciated 😍 and thanks for valuable feedback

  • @gauthamnadar6537
    @gauthamnadar6537 2 роки тому +3

    Excellent video, does serverpod support OAuth 2.0?

  • @evandertorressaavedra
    @evandertorressaavedra 2 роки тому +4

    How does serverpod deal with nested objects(joins) ?

    • @CodeXdev
      @CodeXdev  2 роки тому +1

      Nice question, let me go through it.. I am sure it can handle any serializable object. But, let me test that first and then I can comment.

  • @BihariVibes07
    @BihariVibes07 2 роки тому +2

    Finally 🔥😍

  • @adnanhaider9949
    @adnanhaider9949 Рік тому +1

    what about window user are they also download postico?

  • @faisalhidayat8404
    @faisalhidayat8404 2 роки тому +2

    when i run dart bin/main.dart
    SERVERPOD version: 0.9.19 mode: development time: 2022-10-29 15:12:37.133315Z
    2022-10-29 15:12:38.443669Z Failed to connect to database.
    PostgreSQLSeverity.error 42P01: relation "serverpod_runtime_settings" does not exist

    • @CodeXdev
      @CodeXdev  2 роки тому

      Check this:
      docker-compose is successfully executed and both postgres and redis is Running/Started

    • @jayamuruganj5091
      @jayamuruganj5091 2 роки тому

      am facing the same prb is there any solution?

    • @derekalves7512
      @derekalves7512 2 роки тому

      i have the same problem, anyone solve this?

    • @tehseenkhan6962
      @tehseenkhan6962 Рік тому

      run \setup-tables.cmd on terminal and then detach docker

    • @charlesifoegbu
      @charlesifoegbu Рік тому

      @@derekalves7512 Just copy the contents of the pgsql files in the generated folder and execute in pgadmin(windows, linux, mac) or Postico(mac) just like at 6:17. I think at the moment only mac allows for auto execution on running dart bin/main.dart

  • @JonnyS569
    @JonnyS569 Рік тому

    What should i do if a am on Windows and can't use Postico

  • @jannray_dev
    @jannray_dev Рік тому

    alternative for potico? im using windows

  • @엄대웅-h8t
    @엄대웅-h8t Рік тому +1

    Please tell us how to uninstall Serverpod.

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

    postico is for mac what will we use for windows?

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

    Your doing an amazing job with these videos..but after watching for hour Id recommend a backend to be built with Node.js or python

  • @imgroot90
    @imgroot90 2 роки тому

    more Serverpod tutorials plz, thanks, big fan from China

  • @jayamuruganj5091
    @jayamuruganj5091 2 роки тому +1

    PS C:\Users
    ic\siragugal\siragugal_server> docker-compose up --build --detach
    [+] Running 2/0
    - Container siragugal_server-postgres-1 Running 0.0s
    - Container siragugal_server-redis-1 Running 0.0s
    PS C:\Users
    ic\siragugal\siragugal_server>
    PS C:\Users
    ic\siragugal\siragugal_server> dart bin\main.dart
    SERVERPOD version: 0.9.19 mode: development time: 2022-11-14 20:06:44.013043Z
    2022-11-14 20:06:44.379985Z Failed to connect to database.
    PostgreSQLSeverity.error 42P01: relation "serverpod_runtime_settings" does not exist

    • @charlesifoegbu
      @charlesifoegbu Рік тому

      Just copy the contents of the pgsql files in the generated folder and execute in pgadmin(windows, linux, mac) or Postico(mac) just like at 6:17. I think at the moment only mac allows for auto execution on running dart bin/main.dart

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

    Hi, I have a problem when creating serverpod project. It does not have "generated" folder outside of lib (it does have a generated folder inside lib folder). Really appreciate if you can point out what is the issue. Thanks a lot.

  • @FarhadEs
    @FarhadEs Рік тому

    Does it not work in Windows? postico

  • @srirammacha
    @srirammacha 2 роки тому

    Bro there is another video in this serverpod playlist when will u release that?

    • @CodeXdev
      @CodeXdev  2 роки тому

      Which video? Currently it has 3 video

    • @srirammacha
      @srirammacha 2 роки тому

      @@CodeXdev when you click on the playlist it says a video is hidden. If there is a part 4 pls make it available. This serverpod series is really amazing.

    • @CodeXdev
      @CodeXdev  2 роки тому

      That’s weird, I can see 4 videos count but it’s actually 3.
      Never mind, working on part 4.. will be out soon 👍🏼

    • @srirammacha
      @srirammacha 2 роки тому

      @@CodeXdev can't wait.
      If you can touch topics like auth and deployment with serverpod It would be great.😁

  • @rise4gamers506
    @rise4gamers506 Рік тому

    good explanation

  • @marcubale
    @marcubale Рік тому

    can it handle big projects with many users?

  • @commie563
    @commie563 2 роки тому +2

    Hello
    I am planning to build an accounting app on Flutter with all the features and POS system, what do you think the best option? Can you give me an idea about it.
    What is the state manager, I am thinking to go for RiverPod and I am planning to add offline feature as well, so what is the best options I have, can you please tell me

    • @salimtabetaoul7467
      @salimtabetaoul7467 Рік тому

      i have the same questions, did you find a suitable solution?

  • @rec-trick
    @rec-trick Рік тому

    how to make many to many ?

  • @harshgupta-ud9di
    @harshgupta-ud9di 2 роки тому

    It's is possible to connect mongodb

    • @mobtereststudio
      @mobtereststudio Рік тому

      Currently it seems Serverpod was tailored to support Postgresql. Maybe things will change in future versions.

  • @bloodcon7014
    @bloodcon7014 Рік тому

    I always get authentication faild with postgresql due to password

  • @leonardoalamavilca2182
    @leonardoalamavilca2182 2 роки тому

    thanks a lot!!! so nice reverb

  • @aroobae456
    @aroobae456 Рік тому

    Hi, actually my server-postgres and server-redis are running and I can see them running on the docker but they when I open the link it says "Nothing to show the error"

    • @CodeXdev
      @CodeXdev  Рік тому

      You may try restarting the instance of docker, this trick always work 😅

  • @aitrancong1003
    @aitrancong1003 2 роки тому

    works perfectly, thank you

  • @bluyetiinc7553
    @bluyetiinc7553 2 роки тому

    Excellent Video.

    • @CodeXdev
      @CodeXdev  2 роки тому

      Thank you very much!

  • @aroobae456
    @aroobae456 Рік тому

    I tried doing same, but it gives the error:
    my command: serverpod create myProj
    Usage: serverpod [arguments]

    • @aroobae456
      @aroobae456 Рік тому

      nevermind got it resolved
      Fix: project name should not have capital letter

  • @mdadnanullah497
    @mdadnanullah497 2 роки тому

    How can I add "server folder" and "client folder" on an existing flutter project?

    • @CodeXdev
      @CodeXdev  2 роки тому +3

      You asked very important question.. Server and Client are totally different project, let me figure out how does it work with existing project and then will get back to you.

  • @333PerezJuan
    @333PerezJuan 2 роки тому

    Excelent! thank you for sharing bro

    • @CodeXdev
      @CodeXdev  2 роки тому

      Great! Flutter part of this video coming tomorrow.. 😍

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

    Protocol (Folder/Directory) has been renamed to Models.
    Good luck developers

  • @masterpro1222
    @masterpro1222 2 роки тому

    Works well!! DANKEEE

  • @bloodcon7014
    @bloodcon7014 Рік тому

    Shold i install postgresql on windows first

  • @vuquangngoc
    @vuquangngoc 2 роки тому

    I am learning getx, get cli, http (get and post api)
    I hope you make 1 video guide how to get 1 api to listview and gridview (getx + http) and ontap to item navigation to detail new page
    Look like app shopping....

  • @rohitsangwan4803
    @rohitsangwan4803 2 роки тому

    why not Frog dart ?

    • @CodeXdev
      @CodeXdev  2 роки тому

      I just read about dart_frog package..
      return Response(body: 'Welcome to Dart Frog!');
      Looking at above line, i get the feeling that you need to handle everything yourself. There is no Session, no caching, no DB support.. just Dart Code as backend.
      I might be wrong, but if you can share some more details it will be enlighting.

    • @rohitsangwan4803
      @rohitsangwan4803 2 роки тому

      I havent tried this yet , but yes seems like thats for small projects yet , and require more stuff to be added
      But it got some good hype , and on active development
      For a single file small datt backend projects i used Alferd
      Its one the fastest and simplest way to build a Backend in dart

    • @mobtereststudio
      @mobtereststudio Рік тому

      I find dart Frog to be lightweight and gives room for bespoke architectures. I think it's like Laravel for php or Ruby on Rails for Ruby or Django for Python, but for Dart. Very cool stuff.

  • @Tech1st
    @Tech1st 2 роки тому

    Nice

  • @Aali.258
    @Aali.258 2 роки тому

    Seems interesting…..trying to find thumbnail in the middle of the screen😅

    • @CodeXdev
      @CodeXdev  2 роки тому +2

      Coming soon.. stay tuned! 😍