Ktor Tutorial - Building a RESTful API with JWT Authentication

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

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

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

    Update:
    I've added more API calls in the project. Covered all CRUD operations, and you can also find some samples of SQL Joins with Expose.
    You can get this Postman Collection for all the APIs: www.getpostman.com/collections/a8fef1cd9194ae4a2ab9
    The project is updated on GitHub and is open for contributions. Thank You

  • @testdev1804
    @testdev1804 6 месяцев назад +2

    can you please help me getting some basics . actually i am new to API development. recently i just started learning spring boot kotlin. and since ktor is recently booming to the peak, i wanna start leaning it. but, it would be better if that learning path is from beginner to pro based.

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

    Hey, nice tutorial. One thing though.. You shouldn't hardcode the secret key. It should be in the environment variables for security purposes

    • @SimplifiedCoding
      @SimplifiedCoding  2 года назад +4

      I am also very new in building backend. So sorry for this mistake. 😀

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

    Hey can we make an e commerce app using ktor? Pls answer... Like all the things authentication/users/orders/ how to handle complex relationship among tables ? It's same as SQL ?

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

    Excellent tutorial. Very straightforward and easy to follow!

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

    excellent much simpler than spring boot. Perhaps it is necessary to add user privileges to the registration mode.

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

    Amaizing tutorial, kindly do more of ktor server side project.

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

    You are my saviour, thank you for this tutorial.

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

    are you gonna do a series aswell on how to implement this API into an actual login app? im loving this so far learned allot from it.

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

      Yes, the app tutorial will come soon. I am working on it

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

      @@SimplifiedCoding great, i cant wait to use all this knowledge to create my own app :D

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

    For my project, which one is better to use jwt based subscription or session?

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

    Hello, I am glad to have your tutorial can you please also give us way of developing ktor server in docker compose with auto reload

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

    Sir kya Google Play Store se video recorder app se video record karte hai kya vo video app developer ke pass bhi save hota hai kya
    Please reply.....

  • @Random_friend237
    @Random_friend237 3 месяца назад

    Great project!
    sir please tell me where is video on it's android part - my story app?
    please share it if it's done.

    • @tejasmahadik3233
      @tejasmahadik3233 3 месяца назад

      yeah found it- ruclips.net/p/PLk7v1Z2rk4hiCeUglEmnzkyiryl5YHG76

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

    Very well articulated Thank you so much for a wonderfull sesssion. KEEP ROCKING!!!

  • @ArshadAli-hd4we
    @ArshadAli-hd4we 2 года назад

    Sir I watched most of your videos they all are very good and precise but in this tutorial the project is not getting synced properly

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

    Amazing tutorial! Thank you

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

    When will you add code here, will help us more to understand the flow.

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

    ما شاء الله ربنا يبارك فيك وبك ويرزقنا ويرزقك كل خير ياارب thaaanks

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

    Awesome video quality!
    Awesome content!

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

    hello sir, i have a basic app requirements to create an app that work in all platforms, the app must work offline and the data is backup time to time to the cloud.
    Sir i am thanking to create an android app with kotlin and ktor to create server and client in the same app and create ktor server to serve the server and web client for other platforms that are connected to the same local network to access the server with local ip address.
    My question is, is it possible to host kotlin web server from android that serve the same sqlite database and other resources that android app uses?
    Please help to start my project.
    thanks.

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

    Thank you very much for this tutorial

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

    How can I host it? Does shared hosting like Godaddy support this?

  • @sw_a_ppy
    @sw_a_ppy 8 месяцев назад

    How to deploy over aws

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

    can we use android studio for Ktor?
    As ItelliJ IDEA isn't free

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

      Community Edition is Free and I also used community edition here

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

      @@SimplifiedCoding yes thanks. Already started on community edition.

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

    I was unnable to see ktor plugin in intellij idea Community Edition!! im the only one facing this????

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

    it was reallly helpful bro

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

    when will you make a tutorial about jetpack compose app using ktor as backend

  • @iam-peacemaker
    @iam-peacemaker 2 года назад

    Please the login doesn't authenticate user details....email and password.(I have done that following your steps to help the vision so, can i share it here?)

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

      Check the source code. The link is in the description. I have also added the login code there

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

    What about GraphQL???

  • @Rohan-by5cp
    @Rohan-by5cp 2 года назад

    thanks Bilal

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

    hey bro you are doing a very good job but if I were in your place I would make a video about ktor client rather than the server-side, I am saying this because as I see you are focusing in android dev

  • @Random_friend237
    @Random_friend237 3 месяца назад

    android app for this api video link please

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

    Thanks

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

    how to upload imageon ktor server side. plz hep

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

    is ktor kills springBoot?

  • @junlapunete1602
    @junlapunete1602 11 месяцев назад +1

    internal server error if try downloading the source code

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

      Sorry for this I will fix it soon. You should try after tomorrow.

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

      try now it should work

    • @junlapunete1602
      @junlapunete1602 10 месяцев назад

      @@SimplifiedCoding, Thank you.

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

    Expected one

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

    Great content 👍

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

    No pls do it on native kotlin , not in jetpack pls....🙏

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

    Amazing

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

    Great

  • @MAli-ok1gq
    @MAli-ok1gq 2 года назад

    Wow..

  • @ArshadAli-hd4we
    @ArshadAli-hd4we 2 года назад

    Sir I am getting an error when we open the project in intellij

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

      Try cloning the project directory from repository. Also if you can show the screenshot of the error I may help.

    • @ArshadAli-hd4we
      @ArshadAli-hd4we 2 года назад

      @@SimplifiedCoding sir can I get your mail where I can share you the complete error

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

    who can code this function for me please
    override suspend fun loginUser(email: String, password: String): BaseResponse {
    TODO("Not yet")
    }

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

      I will post the source code will all the remaining API calls. Stay Tuned :)

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

      @@SimplifiedCoding thank youu

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

      @@youssefbenlahouel4423 Here is the source code with the loginUser function completed: simplifiedcoding.in/download/25

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

      @@SimplifiedCoding thank youuuuuu

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

    քʀօʍօֆʍ

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

    1.25x

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

    Nothing interesting. I did not like it. very disappointing.

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

    worst tutorial ever not even telling where to get the dependencies from and also the hikari config and what is it

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

      You can get the dependencies from the source code. The repository link is in the description.