DAY 1
(i was supposed to post this yesterday but i forgot lol)
video used → Full Guide to Develop a Website with Kotlin and Jetpack Compose – YouTube
- Frameworks for web app development include JetPack Compose and Kobweb
- Both frameworks translate kotlin into html, css and javascript but learning the languages would be beneficial
- Framework chosen was Kobweb.
- Download Kobweb binary.
- Within conf.yaml contains the title of the website in question that can be edited.
- Index.kt is the home page.
- MyApp.kt is the website theme.
- To run the server in kobweb you have to use your terminal and create a site directory via cd site
- Then run the server via kobweb run.
- website will then run via local host
- web icon found in resources → public folder
- UI developed within index.kt
- what’s a composable function?
- what’s a modifier?
- fontawesome.com for icons
- live reload allows for websites to be built in real-time rather than restarting the server each time.
- what the hell is an enum class?
- what’s a rest api?
- To export website as a static website in html css and javascript → kobweb export – – layout static
- theres so much i don’t know yet but that’s cool, ill learn it eventually.
submitted by /u/Icy_Adhesiveness_347
[link] [comments]