Developing a weather forecast web app

It was fun writing Kotlin code for a browser and see it working, wasn't it? Now we should target bigger goals. Let's develop another app step by step. We will build a weather forecast app, where the user will enter a ZIP code and can see the weather details (seven day forecast) for the provided region. We will use the OpenWeatherMap API to get the weather details. Please find more details at https://openweathermap.org/api.

Before we move to the next step we should create a new project named KotlinBluePrintsJSDemo. Some quick steps to follow:

  1. Create a Kotlin+JavaScript project named KotlinBluePrintsJSDemo.
  2. Create an index.html page under the root directory.
  3. Create a Main.kt file inside the src directory. ...

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.