Bryan L
05/12/2021, 1:43 PMDay 55
• Pushed changes to Github
• Started another course by Phillip, Powerful Kotlin REST APIs with Ktor
◦ Project Setup -> MongoDb , Postman, Ktor Project
Self-Comment
• Testing
◦ Spent about an hour continuing to work on tests today, but I'm struggling with implementing them. My progress has slowed down extremely this month so I am going to change my approach and work on my other main priority. I will implement tests where comfortable.
• Ktor Course
◦ So I know how often I bounce around different things, perhaps this is a reason of my slow progress. However, as mentioned above and in previous daily self-comments.. My other focus besides testing is implementing a remote database and growing my backend knowledge.
◦ I enjoyed Phillip's free testing course, so I have decided to purchase his Ktor Android course for a few reasons.
▪︎ While I've been trying to push Firebase, I struggled finding solid documentation/material on implementing it in my Compose project.
▪︎ Ktor can be implemented in KMM projects while Firebase would have to build two separate instances.
▪︎ The course also uses MongoDb, another database to familiarize myself with (although SQLDelight would be a better choice here. However, this will be my first NoSQL database to use). I believe Room is still used for local caching
▪︎ Learn to create my own server-side backend with
• Login: Register, Authentication, User data, Encryption/Security, REST APIs
▪︎ The course involves a note app. So I'm comfortable with how to setup and build the project which allows me to maximize my focus on Ktor / MongoDb / Retrofit
• Not sure why the project uses Retrofit as Ktor can be used for HTTP Client. I'm fine with it though. Can dive into Ktor as HTTP Client at a later date.
◦ While I don't intend to fall back doing tutorial after tutorial, I need my rhythm back. My progress started slowing down once I came across implementing user data / remote database in my app. Hoping that by returning to this topic and going more in depth, I can get my momentum back.
Goals Tomorrow
• Continue Ktor Course
◦ Setup MongoDb
◦ Register / Authenticate Users
◦ Create Notes / Assign to user
◦ Setup Room, Retrofit, Hilt