Ktor City API with Koin, Exposed, and SQLite

Поділитися
Вставка
  • Опубліковано 31 лип 2022
  • Links:
    * GitHub Source Code: github.com/santansarah/ktor-c...
    * Video Branch: github.com/santansarah/ktor-c...
    * Ktor Status Pages: ktor.io/docs/status-pages.html
    * Exposed Wiki: github.com/JetBrains/Exposed/...
    * City info: simplemaps.com/data/us-zips
    This Ktor REST API allows users to fetch city information by:
    * City name prefixes
    * Zip codes
    * and more
    In Part 1, I'll go over:
    * The project background and basic concepts
    * API Postman/Endpoints
    * Exposed setup with SQLite
    * Ktor data layer
    * Creating tables and inserting data with Exposed
    * Koin dependency injection
    * Implementing Use Cases
    * Ktor routes
    * Ktor Status Pages (Routing Exceptions)
  • Наука та технологія

КОМЕНТАРІ • 18

  • @jeghamaymen
    @jeghamaymen 3 місяці тому

    Thank you Sarah for the video , what i would love to see as a progress in these kotlin/ktor/android projects is the use of JWT and the offline-first approach which means downloading the sqlite db and putting a syncing strategy ..i'll try to work on that on my own but i really appreciate the structure you put here

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

    Thank Sarah for a video, I like how you explain and how you prepared your code, very good👍

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

    thank you! i cant thank you enough. I've been struggling to implement sqlite with exposed. I am new to all this

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

    Awesome video! Very complete, even includes architecture and how to save files (folder structure) I'm an Android dev trying to learn this new tool and this video is very helpful, thanks a lot!

  • @scharxidev4854
    @scharxidev4854 Рік тому +2

    Good work, keep it up!

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

    it is helpful video, thank you Sarah

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

    Wow, very nice video.Keep it up.

  • @NateEbel
    @NateEbel Місяць тому

    Well done 💯

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

    Thanks Sarah! I'm looking into creating a small backend with ktor for a project and this did help to wrap my head around the complexity. Looking to see more clear and concise videos! P.s. Would be super awesome if you would add a video about deploying to heroku or somewhere else, since it gave me a lot of errors and there were no answers

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

      Hi - thanks, I'm glad it helped! Next, I plan to make some videos about connecting to this API from an Android app, but deploying ktor APIs sounds like a great/useful video idea...I will keep it in mind...

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

      @@santansarah yeah, cause the documentation on ktor’s website is somewhat shallow and inconclusive🤔

  • @senzokhumalo6657
    @senzokhumalo6657 Місяць тому

    can you please help me connect a SQL database created with xampp to connect with Android studio app in kotlin?

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

    I don't understand in some cases in the data folder you use interfaces and in other files you use data classes....

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

      Hi, after looking at my data folder again, I realize that I need to do some refactoring/organizing. I'll work on adding some better architecture into my next video. For general info about using data classes, interfaces, etc. with Ktor, their guide called *Database persistence with Exposed* has step-by-step examples.

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

    Good work, However i question the use of Antiquated technologies like SQL ! maybe use Mongo/Kmongo (other options also exist) ? the benefits speak for itself!

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

      Hi, I agree! Since SQLite is supported, I wanted to try it out. It also might be an easier learning curve for Android developers looking to get started.