Bryan L
05/26/2021, 5:19 PMDay 61
• Finished Powerful Kotlin Rest APIs with Ktor
◦ Covered Security section
▪︎ Securely Saving Passwords
▪︎ Encrypting HTTP Traffic
• Generated own signed certificate (trusted for self, untrusted for others)
◦ Covered Deployment
▪︎ Deployed Ktor Server to a Remote Server instead of just a local port (Watched the video, but did not follow along since I am not renting a server)
• Started server-side project for Daily Doc -> ktor-daily-doc
◦ Ktor Server created
◦ MongoDB created
Self-Comment
• Been awhile since I've had to deal with Hashcodes! Kotlin data classes are a blessing. lol.. It's exciting to see progress on topics I've been meaning to cover for quite awhile. Security has been a big obstacle of mine that caused me to slow down/stop. I wasn't sure how to go about it so I spent a long time working with Firebase Auth that utilized Google Accounts & not actually entering passwords for this reason. I can now put that worry behind. ➕
• Since this app only used REST API without the website part & not meant for other users, the course covers generating my own certificate. Otherwise find a company to sign the certificate (explained in course, will go back and review this after implementing prior course material in DD. When everything is setup in the project I'll decide which type of certificate to get)
◦ Course demonstrates how to trust all certificates. Not meant for production apps as you want to find a certificate authority to sign your certificate normally, but I'm glad he covered it! Helped understand more in depth on how certificates work (somewhat 😆_)_
• Deployment section covered, but only watched (vaguely) and did not write code here. Wanted to see how it was deployed to a server even though I'm not currently renting a server to deploy to.
◦ Holding off on renting a server. I will go back and cover this last section when I reach this part of the course when adding it to DD. Not sure how long it will take to implement, so holding off on wasting $$ on renting the server when I won't have anything else to use it for besides this small deployment section of the course. Once I've got DD up and running I'll be more than happy to do so!
• Course completed! Last sections after deployment show how to use Ktor to build websites & Version Updates.
• Jetpack Compose released two new Codelabs since Google IO.
◦ Jetpack Compose Navigation
▪︎ This would have saved me quite some time while learning navigation. I'm excited to cover it dive into new navigation concepts & compare what I have vs what they teach! Will be covering this after server implementation
◦ Testing in Jetpack Compose
◦ Covered some testing already, but haven't touched testing in Compose. So this is great news. I won't be covering this yet until after I implement the course material into DD. Then will follow through with it to add testing to the projectBryan L
05/26/2021, 5:20 PMkeytool -genkey -v -keystore mykey.jks -alias my_keystore -keyalg RSA -keysize 4096
Used password
as keystore password. Will change for DD, just using simple one for course