Serverpod with Flutter | CRUD operations tutorial (Part 2)

  Рет қаралды 10,422

CodeX

CodeX

Күн бұрын

In this tutorial we will see how to create Serverpod project and work with endpoints.
Also, we will cover all CRUD operations on Postgres DB.
Download Postico from here:
eggerapps.at/p...
If you like my work
Support Me on Ko-Fi : ko-fi.com/afza...
Join this channel to get access to perks:
www.youtube.co...
Gears ========
Camera 📸 || Canon 250D : amzn.to/34isdKr
Mic 🎤 || Maono AU-04 : amzn.to/341g9wS
#CodeX
Connect with me on social media:
FB: / codexdevs
Twitter: / afzalali_dev
LinkedIn: / afzalali15
Discord: / discord

Пікірлер: 66
@bilalsimsek7306
@bilalsimsek7306 6 ай бұрын
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 6 ай бұрын
Much appreciated 😍 and thanks for valuable feedback
@rafante2
@rafante2 6 ай бұрын
MINDBLOWING!!!!!!!!!! I'M GONNA FAINT! Amazing! I loved this ServerPod!!!
@user-oc8hz8ud9e
@user-oc8hz8ud9e Ай бұрын
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 Жыл бұрын
more Serverpod tutorials plz, thanks, big fan from China
@allhzzenmiserable2295
@allhzzenmiserable2295 Жыл бұрын
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
@rise4gamers506
@rise4gamers506 Жыл бұрын
good explanation
@CodeXdev
@CodeXdev Жыл бұрын
Thanks! Keep watching
@BihariVibes07
@BihariVibes07 Жыл бұрын
Finally 🔥😍
@gauthamnadar6537
@gauthamnadar6537 Жыл бұрын
Excellent video, does serverpod support OAuth 2.0?
@mmkamal
@mmkamal Ай бұрын
Protocol (Folder/Directory) has been renamed to Models. Good luck developers
@333PerezJuan
@333PerezJuan Жыл бұрын
Excelent! thank you for sharing bro
@CodeXdev
@CodeXdev Жыл бұрын
Great! Flutter part of this video coming tomorrow.. 😍
@aitrancong1003
@aitrancong1003 Жыл бұрын
works perfectly, thank you
@leonardoalamavilca2182
@leonardoalamavilca2182 Жыл бұрын
thanks a lot!!! so nice reverb
@evandertorressaavedra
@evandertorressaavedra Жыл бұрын
How does serverpod deal with nested objects(joins) ?
@CodeXdev
@CodeXdev Жыл бұрын
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.
@tanphuocly8043
@tanphuocly8043 3 ай бұрын
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.
@adnanhaider9949
@adnanhaider9949 Жыл бұрын
what about window user are they also download postico?
@JonnyS569
@JonnyS569 Жыл бұрын
Do you know now?
@JonnyS569
@JonnyS569 Жыл бұрын
What should i do if a am on Windows and can't use Postico
@vuquangngoc
@vuquangngoc Жыл бұрын
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....
@user-wd5vx8nu2y
@user-wd5vx8nu2y Жыл бұрын
Please tell us how to uninstall Serverpod.
@faisalhidayat8404
@faisalhidayat8404 Жыл бұрын
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 Жыл бұрын
Check this: docker-compose is successfully executed and both postgres and redis is Running/Started
@jayamuruganj5091
@jayamuruganj5091 Жыл бұрын
am facing the same prb is there any solution?
@derekalves7512
@derekalves7512 Жыл бұрын
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
@bluyetiinc7553
@bluyetiinc7553 Жыл бұрын
Excellent Video.
@CodeXdev
@CodeXdev Жыл бұрын
Thank you very much!
@hiraazeem4183
@hiraazeem4183 3 ай бұрын
postico is for mac what will we use for windows?
@masterpro1222
@masterpro1222 Жыл бұрын
Works well!! DANKEEE
@jannray_dev
@jannray_dev 11 ай бұрын
alternative for potico? im using windows
@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
@Tech1st
@Tech1st Жыл бұрын
Nice
@CodeXdev
@CodeXdev Жыл бұрын
Thanks
@FarhadEs
@FarhadEs Жыл бұрын
Does it not work in Windows? postico
@rec-trick
@rec-trick Жыл бұрын
how to make many to many ?
@bloodcon7014
@bloodcon7014 Жыл бұрын
I always get authentication faild with postgresql due to password
@harshgupta-ud9di
@harshgupta-ud9di Жыл бұрын
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.
@marcubale
@marcubale Жыл бұрын
can it handle big projects with many users?
@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 😅
@mdadnanullah497
@mdadnanullah497 Жыл бұрын
How can I add "server folder" and "client folder" on an existing flutter project?
@CodeXdev
@CodeXdev Жыл бұрын
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.
@bloodcon7014
@bloodcon7014 Жыл бұрын
Shold i install postgresql on windows first
@srirammacha
@srirammacha Жыл бұрын
Bro there is another video in this serverpod playlist when will u release that?
@CodeXdev
@CodeXdev Жыл бұрын
Which video? Currently it has 3 video
@srirammacha
@srirammacha Жыл бұрын
@@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 Жыл бұрын
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 Жыл бұрын
@@CodeXdev can't wait. If you can touch topics like auth and deployment with serverpod It would be great.😁
@commie563
@commie563 Жыл бұрын
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?
@Aali.258
@Aali.258 Жыл бұрын
Seems interesting…..trying to find thumbnail in the middle of the screen😅
@CodeXdev
@CodeXdev Жыл бұрын
Coming soon.. stay tuned! 😍
@rohitsangwan4803
@rohitsangwan4803 Жыл бұрын
why not Frog dart ?
@CodeXdev
@CodeXdev Жыл бұрын
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 Жыл бұрын
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.
@jayamuruganj5091
@jayamuruganj5091 Жыл бұрын
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
Serverpod | Flutter integration tutorial (Part 3)
4:03
ServerPod | The missing server for Flutter
9:25
CodeX
Рет қаралды 25 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 203 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 7 МЛН
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 5 МЛН
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 46 М.
Kotlin Multiplatform vs Flutter: Which should we use?
4:42
Kei Fujikawa
Рет қаралды 21 М.
SurrealDB in 100 Seconds
2:47
Fireship
Рет қаралды 408 М.
Serverpod 🚀 Deploying to AWS
12:11
CodeX
Рет қаралды 6 М.
Getting started with Serverpod 🚀 and Dart 🎯 on the backend
27:13
Serverpod 🚀
Рет қаралды 2,9 М.
Learn to use Isolates in Flutter | Simplified
10:28
CodeX
Рет қаралды 27 М.
Full-Stack Dart with Serverpod (Part 1)
26:29
Tyler Codes
Рет қаралды 5 М.
Simple Dart Server | Flutter Serverpod
24:43
HeyFlutter․com
Рет қаралды 27 М.
Serverpod | Cache and Logs (Part 4)
8:22
CodeX
Рет қаралды 4,3 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН