How to Build a Simple REST API With Ktor + Android App

  Рет қаралды 64,425

Philipp Lackner

Philipp Lackner

Күн бұрын

Пікірлер: 109
@hxrin3748
@hxrin3748 3 жыл бұрын
Okay, gotta set my alarm for 6am and hop onto this as soon as I wake up
@KoradiyaAbhay
@KoradiyaAbhay 3 жыл бұрын
Thanks for the tutorial. Need deployment tutorial also.
@viniciushenriquedeoliveira289
@viniciushenriquedeoliveira289 3 жыл бұрын
Up
@giarc1988
@giarc1988 Жыл бұрын
Even without finishing this video it's obvious that you build a jar, wrap in a docked container, and deploy to your cloud platform of choice
@kinggeorges625
@kinggeorges625 3 жыл бұрын
Many thanks for the video. Could please cover also "Paging" in your future tutorials.
@Naar0x
@Naar0x 3 жыл бұрын
There is a paging section in the Pokedex app tutorial in his channel, just look it up there.
@mohammaddesouky4714
@mohammaddesouky4714 3 жыл бұрын
@@Naar0x I think he asked for backend paging not android.
@MaisUmSomente
@MaisUmSomente 3 жыл бұрын
the best channel based in Android
@hdkloh
@hdkloh 3 жыл бұрын
Something new to me... Pls continue this series.
@VishnuHaridas
@VishnuHaridas 3 жыл бұрын
Good tutorial! Ps: Hitting the `Tab` key triggers my OCD! This is what I do - hit the Left Arrow or Ctrl+Left to go back to the end of the previous line, and hit Enter!
@silientlips
@silientlips 3 жыл бұрын
Wow! No drag & drop for building an UI. That idea is similar to Flutter. I like that Column(). Thanks Philipp for the great content! :) I want to know your thoughts about Flutter. Do you have any video for that?
@vaibhavjaiswal5911
@vaibhavjaiswal5911 3 жыл бұрын
Finally, a good ktor tutorial in KZbin 🔥🔥🔥🔥
@PhilippLackner
@PhilippLackner 3 жыл бұрын
thanks bro!
@alexgutjahr
@alexgutjahr 3 жыл бұрын
Cool stuff Philipp, though I'm still a bit sceptical of Ktor and whether more complex projects are also manageable with it (as supposed to Spring Boot - but I'm biased anyway). Maybe there is a chance to work on a video together at some point!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks! I wouldn't spontaneously know why complex projects shouldn't be possible. You're very free in structuring your projects.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
If you wanna connect, hit me up in instagram or so :)
@haykmkrtchyan7093
@haykmkrtchyan7093 3 жыл бұрын
I've been waiting for this, thanks a lot 🙂
@matt-g-recovers
@matt-g-recovers 2 жыл бұрын
Haha! Florian is the best, you guys are fun. Need healthy competition.
@vengateshm2122
@vengateshm2122 3 жыл бұрын
That's extraordinary stuff . Thanks Philip.
@zcv3224
@zcv3224 Жыл бұрын
how can i format json body like that? 23:56 i have all text in one line
@quantumgaming7
@quantumgaming7 2 жыл бұрын
A little suggestion you are not supposed to attach 2 BASE_URL to every image path because you are storing unnecessary data as your frontend client knows BASE_URL you can attach it there and store only the relative path in backend. (THIS IS COMMON AND RECOMMENDED PRACTICE FOR FILE PATHS)
@siva_subramaniam
@siva_subramaniam Жыл бұрын
Thanks rishab. May I know if you have some good resource recommendations to learn backend development concepts?
@janbrs7040
@janbrs7040 3 жыл бұрын
Just found this treasure page. Thanks for the content!
@tanjimahmed213
@tanjimahmed213 3 жыл бұрын
Thank you so much, Philipp for your amazing video.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad you enjoyed it
@tanjimahmed213
@tanjimahmed213 3 жыл бұрын
@@PhilippLackner ​I was waiting for this type of backend tutorial. Thanks, man. you're my favorite KZbinr
@maskedredstonerproz
@maskedredstonerproz 3 жыл бұрын
Ironically enough, despite the fact that the android side wasn't the focus of this video, I understood it more than in any of your other videos
@lazydevelopment
@lazydevelopment 3 жыл бұрын
Oh, I wait for this, more please!
@souparnodey7382
@souparnodey7382 3 жыл бұрын
Would love to see more videos in this topic
@francoskurnik5329
@francoskurnik5329 5 ай бұрын
Hey Philipp! Do I have to enable some type of permission to make requests from my cell phone to my laptop? I'm getting this error: I couldn't connect to [my IP address] to [my phone IP address] In my case, I used Spring with Kotlin for API development. Thanks for yours courses :D Greetings from Argentina!
@RupeshKumar-eo1mi
@RupeshKumar-eo1mi 3 жыл бұрын
Thanks a lot to guide in ktor course. I am watching your all tutorial
@PhilippLackner
@PhilippLackner 3 жыл бұрын
You are most welcome
@GakisStylianos
@GakisStylianos 3 жыл бұрын
Would be a great opportunity to use ktor as the networking library of Android too instead of retrofit. To show that it can do that as well.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
That's my plan for another video
@bollyshortsfunny7283
@bollyshortsfunny7283 3 жыл бұрын
Sir, can you make more videos on this topic , it's really helpful.
@tomwilliam7299
@tomwilliam7299 3 жыл бұрын
Why you do not use Ktor for client side also, Ktor support client side?!! is Retrofit better than Ktor??🤔🤔🤔
@nadirlahmadi3170
@nadirlahmadi3170 Жыл бұрын
25:40 starts the Android part
@youprimeprime3046
@youprimeprime3046 3 жыл бұрын
This ktor stuff is amazing
@dhananjaypathak6143
@dhananjaypathak6143 3 жыл бұрын
Can't tell you man how much I was waiting for this video.. ❤️
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Hope you enjoyed it!
@ioannmartynov2017
@ioannmartynov2017 2 жыл бұрын
It's amazing. It really works. Wow
@germenwong
@germenwong Жыл бұрын
Hello, I encountered the following error when deploying the ktor project to the idea. Do I need to download the latest version of the idea? Some Kotlin libraries attached to this project were compiled with a newer Kotlin compiler and can't be read. Please update Kotlin plugin.
@KabukiWarrior369
@KabukiWarrior369 2 жыл бұрын
Thanks! Modern way to create fullstack application
@prasannakumaranisetti2350
@prasannakumaranisetti2350 2 жыл бұрын
Image is not loading, I did remove /static in the routing class and also Json code is being displayed in single line and I'm not able to click on the link by default
@MaciejRzemek
@MaciejRzemek 2 жыл бұрын
I had exactly same problems: 1. I'm guessing that Philipp has a JSON Formatter plugin in his browser. Your single line json is fine, it's just not formatted. 2. When I was trying to load an image I got an error: "java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;". The solution was to update JDK with higher version than 1.8 Hope it helped! ;)
@minhtrando
@minhtrando Жыл бұрын
@@MaciejRzemek Thank you for the JSON Formatter plugin hint. I've been wondering where to enable the JSON formatting option in my browser, turned out it's just a plugin. 😅
@oleg12395
@oleg12395 2 жыл бұрын
You are the best of the best !!!
@rohitjakhar6672
@rohitjakhar6672 3 жыл бұрын
did you know about alpas ? it is kotlin based full stack solution. create api same as ktor and create website with that same project.
@masmmaw
@masmmaw 3 жыл бұрын
thank you. please i hope next tutorial is scrape data from website using skrape{it} library and passing the data to rest api using ktor.
@vaghaniishan7193
@vaghaniishan7193 3 жыл бұрын
Is ktor worth to learn and it is using in market for rest api development? Because there are node js, django, spring so should it compete these?
@ykalchev
@ykalchev 2 жыл бұрын
Hey Phillip, how to solve that port problem with no application.conf changes. You solve it with application.conf file changes but I don't have such file. I complete it manually but I doesn't seem to work
@GeorgeMachibya
@GeorgeMachibya 2 жыл бұрын
I didn't find the Ktor course on your premium website, where can I find it please
@The-Fuse
@The-Fuse 3 жыл бұрын
Hey @philipp, I have a doubt like what is industry standard of making a app like they use node js or Ktor or mongodb realm or something else. Please help bro, I really wants to make a app that is of industry standard. Love from India 😌
@PhilippLackner
@PhilippLackner 3 жыл бұрын
If you want to pick something widely used, pick something like node.js or Spring boot. You can as well build industry standard apps with ktor, it can do the same (or even more) than most other frameworks. It's just not so known at the moment mostly because Kotlin isn't so known atm
@The-Fuse
@The-Fuse 3 жыл бұрын
@@PhilippLackner Ohkay Thanks man
@TheMrAntosiek
@TheMrAntosiek 2 жыл бұрын
I tried to follow this tutorial, by i cant create list XD unresolved reference: "listof"... What should i do?
@ivanstrelka3448
@ivanstrelka3448 2 жыл бұрын
Thx so much man
@niranz7745
@niranz7745 3 жыл бұрын
Yess awesome tutorial
@bboydarknesz
@bboydarknesz 3 жыл бұрын
Wow your compose way is new to me. Love it. Anyway Did you build your socmed twitch app using ktor or fetch data from other api?
@PhilippLackner
@PhilippLackner 3 жыл бұрын
It's all using Ktor
@themindsetgarage
@themindsetgarage 3 жыл бұрын
Hey @phillipp, Nice series on ktor. how would you upload the rabbit images form android and store them to a database using ktor as your backend.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
you attach the images in a multipart request, receive that request ktor side and save the path to the image in your database
@kiyo211
@kiyo211 5 күн бұрын
25:42
@ChrisAthanas
@ChrisAthanas 3 жыл бұрын
I don’t see the progress indicator, why is that?
@hoonjung2143
@hoonjung2143 3 жыл бұрын
good stuff, thank you! :)
@randomrainforest
@randomrainforest 3 жыл бұрын
this is the cat's meow
@Somerandomnessvvv
@Somerandomnessvvv 3 жыл бұрын
Liking before watching cuz I know it’s gonna be goddamn good
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks a lot!!
@camilohernandezruiz2776
@camilohernandezruiz2776 Жыл бұрын
Lo hice completo, me encantó. Muchas gracias !
@miguelblanco3484
@miguelblanco3484 Жыл бұрын
y ya tienes trabajo con Android ;-) ????
@Nick-cx4rs
@Nick-cx4rs 2 жыл бұрын
Cant we integrate any payment method ktor backend atm right ?
@PhilippLackner
@PhilippLackner 2 жыл бұрын
Sure
@Chicken1526
@Chicken1526 2 жыл бұрын
Can u do Rest api that use MySQL in xampp please
@heavenlife5619
@heavenlife5619 3 жыл бұрын
What is Ktor, is is better than Spring boot ?
@Abd-Elrahman_Esam
@Abd-Elrahman_Esam 3 жыл бұрын
is the performance of ktor good compared to any php or js framworks ?
@PhilippLackner
@PhilippLackner 3 жыл бұрын
yes
@abhisheknarvekar9963
@abhisheknarvekar9963 2 жыл бұрын
Hey everyone, I created the project, and tried to run it on the emulator, but every time I get an error "Backend Internal error: Exception during IR lowering", I have spent about 4 hours trying to find a solution but I am not able to find it can someone help me? any help will be much appreciated.
@sanelemhlanga2720
@sanelemhlanga2720 3 жыл бұрын
Hi dude can you please make a video of you cloning Uber eats and explain the ordering system to use
@majinzeke4977
@majinzeke4977 2 жыл бұрын
I would love that as well
@faizanalam1646
@faizanalam1646 2 жыл бұрын
how connect azure cloud services
@佐藤あきら-i3m
@佐藤あきら-i3m 3 жыл бұрын
Do you have any plans to continue ktor tutorial??
@PhilippLackner
@PhilippLackner 3 жыл бұрын
I already covered most of what you can cover in my advanced ktor courses: pl-coding.com/premium-courses
@佐藤あきら-i3m
@佐藤あきら-i3m 3 жыл бұрын
I want to learn about architecture patterns(MVC,Clean Architecture...)
@siva_subramaniam
@siva_subramaniam Жыл бұрын
bm - 25:36
@vaghaniishan7193
@vaghaniishan7193 3 жыл бұрын
any one know how to reference list on object in table in ktor?
@sumit180288
@sumit180288 Жыл бұрын
Python can be another easy option to create backend APIs
@rodrickngonyoku5042
@rodrickngonyoku5042 3 жыл бұрын
God bless you man
@sijanneupane
@sijanneupane 3 жыл бұрын
@CodinginFlow, Philipp's eyes on your diet!
@majinzeke4977
@majinzeke4977 2 жыл бұрын
What's wrong bro
@fghinty7623
@fghinty7623 3 жыл бұрын
no desire to make a new video course on augmented reality?)
@rodrickngonyoku5042
@rodrickngonyoku5042 3 жыл бұрын
Reminds me of Spring Boot
@annaunlimited
@annaunlimited 2 жыл бұрын
and for jetpack compose so fking light than flutter i'm very like jetpack compose than flutter, flutter so complicated highlight suggestions code, not as jetpack compose.
@viniciushenriquedeoliveira289
@viniciushenriquedeoliveira289 3 жыл бұрын
Any one know how to deploy?
@fghinty7623
@fghinty7623 3 жыл бұрын
florian walther?)
@codinginflow
@codinginflow 3 жыл бұрын
yes?
@wilfredgicharu6761
@wilfredgicharu6761 2 жыл бұрын
cool staff
@arunkumarka1809
@arunkumarka1809 3 жыл бұрын
Ktor similar to Spring MVC....... Wow....
@oleh7711
@oleh7711 3 жыл бұрын
thank youuuu
@Progamingff1
@Progamingff1 Жыл бұрын
In this video ....❤
@piusgabula
@piusgabula 3 жыл бұрын
😭😭 i don't know what say. big thanks
@welovfree
@welovfree 3 жыл бұрын
Gems!
@footballCartoon91
@footballCartoon91 Жыл бұрын
this is not ktor, it is actually retrofit
@MohsenMashkour
@MohsenMashkour Жыл бұрын
great
@devscodex287
@devscodex287 3 жыл бұрын
✌✌✌✌✌
@kylegaijin
@kylegaijin 2 жыл бұрын
STOP - moving your mouse all over the screen :)
@harishankar-gf4ls
@harishankar-gf4ls 3 жыл бұрын
First
@aranyaprakash5537
@aranyaprakash5537 3 жыл бұрын
Second
@angelmauriciorivas6160
@angelmauriciorivas6160 2 жыл бұрын
Philipp good tuto but I have a problema with gradle I try to synsrinize but I get this error: Plugin [Id: dagger.hilt.android.plugin] was not found in any of the folowing sources::6 it liike you have it in the repo, I have tried to fix it but I can't. I have tried with the code: id 'com.google.dagger.hilt.android' version '2.42' apply false it is well syncroinzed but when i want to execute I get the message: 14 Issues were found when checking ARR metadata: I have changed compileSdk 32 to compileSdk 31 but it doesn't work Thanks a lot by your help.
Build APIs with Ktor and Kotlin
9:30
Awesome
Рет қаралды 39 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Make Your Code Clean With the SOLID Principles
18:24
Philipp Lackner
Рет қаралды 102 М.
Build a Backend for a Kotlin Multiplatform Application with Ktor
16:13
Internet Made Coder
Рет қаралды 2,9 М.
How to Build & Deploy an Online Tic Tac Toe With Ktor And Web Sockets
2:01:20
Пишем REST API сервис на Go - УЛЬТИМАТИВНЫЙ гайд
2:57:51
Николай Тузов — Golang
Рет қаралды 152 М.
Setup Ktor for your Android app!
15:22
The Android Factory
Рет қаралды 7 М.
How to Validate Forms with Clean Architecture (You're Doing it Wrong)
41:08
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
Philipp Lackner
Рет қаралды 90 М.
How to Encrypt DataStore On Android - Full Guide
27:55
Philipp Lackner
Рет қаралды 2,8 М.
Learning Ktor In 7 Days (server side Kotlin)
14:18
Cody Engel
Рет қаралды 28 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.