Skip to content

JyotimoyKashyap/WeatherComposeDesktopApp

Repository files navigation

Weather Desktop App

Made with Compose Multiplatform

Weather App is a desktop application made with Compose Multiplatform and Ktor Client. This is a simple application to demonstrate the how to work with Ktor Client on desktop applications and how to work with Jetpack Compose. The code structure is similar to that of android and this project is still in development phase to include more features and explore new ways to make desktop applications.

Tech-Stack

  • Compose Multiplatform
  • Ktor Client

Languages

  • Kotlin

APIs

  • Open Weather API

How to run

There are a few steps to run this project on your local machine.

Steps are -

  • Clone the repository
  • Open the project in Intellij
  • Let the gradle build ( Kotlin DSL )
  • Head over to WeatherAPI.com
  • Create your account and get the API key
  • Insert the API key in HttpRoutes file in Remote Package
  • You can change the weather location in the code.
  • Open WeatherServiceImpl
  • Change the value of the parameter q to <your_location>
  • Run Main.kt file

License

Copyright 2021 Jyotimoy Kashyap

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

This is a basic weather application made with Compose for Desktop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published