Build Modern Android App with REST API and Ktor Server

Develop an Android App with Kotlin. Fetch Data from REST API deployed on your Backend Server developed with Ktor.

  • 0.0 (0 Reviews)
  • 0 Students
  • 100 Lessons
  • Stefan Jovanovic

Course Overview

Hello there and welcome to my course!

This course will be special. Why? Well because I'm going to teach you how to build not just another android application, but also a backend server, your own REST API!

The main purpose of that server will be to provide the data to our Android Application. You will learn how to successfully establish a quality communication between client, or in this case our Android App, and a backend server.

For the backend we will use ktor framework which is built primarily on Kotlin  and Coroutines! You will learn everything about that framework, how to create your own endpoints, how to work with client requests, receive query parameters, process that same request on your backend, and finally send a fully prepared response to your clients, or in this case an Android App which we are going to develop as well.


Now, our Android Application will use the newest API's and libraries. For designing our Application layout we will use a modern UI toolkit called jetpack compose. For communicating with our backend we will use a retrofit, and paging 3 library along with remote mediator, so we can automatically store and cache that data from the server into our Local ROOM database. That way we will be able to load the data into our Application, even if we don't have an internet connection.


And that's not all, I will also teach you how to test your Backend Server as well as  your Android App. We are going to test all our server endpoints, the most important parts of our Android application and few custom UI components which we are going to build using Jetpack Compose! I'm going to teach you how to create a custom UI component called Rating Widget, using Jetpack Compose, it will look amazing!


Next you will learn how to implement a swipe to refresh functionality in your app, how to implement a palette API so you can display dynamic colors into your layout depending on the image we load into our Screen. And many other different things Bottom Line, there is a lot of work to do, so get ready, because this will be quite of a journey!


So what are you waiting for developers. Let's get started!

See more

FAQ

FAQ area empty

Course curriculum

10 chương 100 bài học 16 giờ 31 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Introducing with Ktor Framework
Chương 3 Let's Build our Backend Server
  • Setup the Project - Server 7:45
  • Install Plugins 7:13
  • Create Model Classes 6:12
  • Create HeroRepository 4:54
  • Create Root Endpoint 3:23
  • Create AllHeroes Endpoint - Part 1 11:19
  • Create AllHeroes Endpoint - Part 2 19:46
  • Create SearchHeroes Endpoint 9:02
  • Status Pages 7:26
Chương 4 Let's Test our Backend Server
  • Testing ROOT Endpoint 6:10
  • Testing All Heroes Endpoint - Part 1 19:24
  • Testing All Heroes Endpoint - Part 2 4:14
  • Testing Search Heroes Endpoint 8:30
Chương 5 Let's Build our App!
  • Setup the Project - App 12:47
  • Setup Navigation 11:16
  • Create Hero Entity 6:19
  • Create HeroDao & BorutoDatabase 7:22
  • Create HeroRemoteKey Entity & Dao 7:07
  • Create DatabaseConverter class 7:09
  • Setup Dagger-Hilt 5:38
  • Design Splash Screen 9:39
  • Animate Splash Screen & Apply StatusBar Color 5:22
  • Design Welcome Screen - Part 1 13:01
  • Design Welcome Screen - Part 2 11:03
  • Design Welcome Screen - Part 3 13:07
  • Setup DataStore Preferences 14:20
  • Create Repository & First Use Cases 7:30
  • Handle On Boarding Pages & Navigation 13:05
  • Home Screen - Design Top Bar 7:22
  • Create ApiResponse & BorutoApi 6:28
  • Create NetworkModule object 8:18
  • Introducing with Paging 3 7:45
  • About Remote Mediator 4:28
  • Implement RemoteMediator and load() function - Part 1 17:35
  • Implement RemoteMediator and load() function - Part 2 15:00
  • Create RemoteDataSource & Implementation 12:44
  • Create GetAllHeroes Use Case 7:53
  • Design RatingWidget - Filled Star 21:10
  • Design RatingWidget - Half Filled Star 9:50
  • Design RatingWidget - Empty Star 2:23
  • Design RatingWidget - Calculation 17:39
  • Design HeroItem 25:10
  • Load and Display Data from the Server 11:49
  • Create Animated Shimmer Effect 17:31
  • Display Shimmer Effect 11:54
  • Implement initialize() function - RemoteMediator 18:16
  • Modify Server Test Function 2:57
  • Caching Header Explained 5:18
  • Handle Paging Error 17:51
  • Search Screen - SearchWidget 17:24
  • Search Screen - SearchViewModel 11:45
  • Search Screen - Implement SearchHeroesSource 10:23
  • Search Screen - Implement SearchHeroesUseCase 9:00
  • Search Screen - Display Searched Heroes 13:42
  • Implement Swipe to Refresh 11:12
  • Details Screen - Info Box 12:12
  • Details Screen - Ordered List 6:25
  • Details Screen - LocalDataSource & GetSelectedHeroUseCase 7:50
  • Details Screen - DetailsViewModel 11:20
  • Details Screen - Design BottomSheetContent 21:44
  • Details Screen - Design BackgroundContent 10:38
  • Details Screen - Animate BackgroundContent Image 10:37
  • Details Screen - Animate Sheet Radius 3:46
  • About Palette API 2:45
  • Create PaletteGenerator Object 10:15
  • Implement Palette Colors in Details Screen 20:10
Chương 6 Let's Test our App
  • Let's start Testing! 3:24
  • Create FakeBorutoApi 8:11
  • Testing SearchHeroSource 17:18
  • Create FakeBorutoApi2 4:53
  • Testing HeroRemoteMediator 16:42
  • About UI Testing 5:31
  • Testing Search Widget 18:08
  • Testing Rating Widget 10:39
Chương 7 Backend - Alternative Approach
  • Alternative Approach Showcase 24:32
Chương 8 Server Deployment & Heroku
  • About Heroku 4:32
  • Deploy Server on Heroku 15:11
Chương 9 Final Word
  • Final Word 2:13
Chương 10 Course Updates
  • Update #1 - Code Cleanup 10:21
  • Update #2 - Dependency Update, Code Cleanup 6:02
  • Update #3 - Migration to Ktor 2.+ 15:49
  • Update #4 - Migrate to New Splash API 10:15
  • Update #5 - KSP and Accompanist Pager Migrations 11:32
  • Update #6 - Accompanist Swipe Refresh and SystemUIController migration 4:04
  • Update #7 - KTS, Material3, PullToRefresh and more... 2:43
  • Update #8 - Migration to Ktor 3 3:14

Requirment

  • You should be already familiar with a Jetpack Compose (Watch my To-Do course with Jetpack Compose first)

  • You should be already familiar with a Kotlin programming language

  • You should be already familiar with basic Android Architecture Components

Outcomes

  • Develop an Android Application

  • Develop a Backend Server with Ktor

  • Create your own REST API

  • Design App UI using Jetpack Compose UI toolkit

  • Clean Architecture + Use Cases

  • Create and Configure a Backend Server

  • Learn about Server Engines

  • Learn about Server Modules

  • Learn about Server Plugins

  • Handle Server Requests and Responses

  • Display Static Content on the Server

  • Templating

  • Auto-Reload Server feature

  • How to use Postman

  • Generate Ktor Project

  • Create and Handle Server Endpoints

  • Implement Serialization

  • Custom Headers

  • Static Pages

  • Testing Server Endpoints

  • Paging 3 Library with Jetpack Compose

  • Offline Caching with Remote Mediator

  • Work with multiple Paging Sources in Android Studio

  • ROOM as a Local Database

  • Dependency Injection on both Server and Android project

  • Dependency Injection with Koin

  • Dependency Injection with Dagger-Hilt

  • Implement On Boarding Screens

  • Implement Compose Navigation

  • Implement Swipe to Refresh

  • Search Widget - Custom UI Component with Jetpack Compose

  • Rating Widget - Custom UI Component with Jetpack Compose

  • Ordered List - Custom UI Component with Jetpack Compose

  • Info Box - Custom UI Component with Jetpack Compose

  • Testing Custom UI Components

  • Testing Android Application (Partially)

  • Shimmer Effect

  • Beautiful App Design

  • Animated Splash Screen

  • Palette API

  • Dynamic Layout Colors

  • Extract Colors from an Image and Apply them into the Layout

  • MVVM

  • Retrofit

  • Send HTTP Requests

  • KotlinX Serialization

  • Coil Image Loading Library

  • Horizontal Pager

  • Pager Indicators

  • System UI Controller

  • Both Light and Dark Theme Design

  • Server Deployment on Heroku

  • AND MORE...

Instructor

...
Stefan Jovanovic

0.0

  • ... 0 Student
  • ... 4 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com