App related to show Astronomy Picture of the Day(APOD) for last seven days. An app to show media listing using APOD api having image/gif/video.
- Go to https://api.nasa.gov/#signUp and create/request new api key.
- Put generated api key in
local.properties
with property nameapiKey
. Now sync project and run the app.- e.g
apiKey="key"
- e.g
- Now navigate to “Browse APIs” → Expand APOD
- API Base Url is https://api.nasa.gov/planetary/apod
- Further query params to fetch in a date range are provided in the document
- Example api call having all type of media including image/gif/video : https://api.nasa.gov/planetary/apod?start_date=2022-05-01&end_date=2022-05-31&thumbs=true&api_key=[your_api_key]
The project currently has 3 main modules:
1. androidApp
This module contains the android application's UI built using Jetpack compose.
2. desktopApp
This module contains the desktop application's UI built using Compose Multiplatform.
3. iOSApp
This module contains the iOS application's UI built using Compose Multiplatform. 🤩
4. shared
This module contains shared code that holds the common Compose Multiplatform ui along with domain and data layers.
Tools | Link |
---|---|
🤖 Language | Kotlin |
🩶 Framework | Compose Multiplatform |
💉 DI | Koin |
🧶 Multi-threading | Kotlin Coroutines |
🌐 Networking | Ktor |
🕜 Lifecycle | Essenty |
📁 State Management | Decompose |
🧭 Navigation | xxfast/KRouter |
📐 Window Insets | InsetsX |
This app follows the principles of Clean Architecture.
- This project uses ktlint and detekt for validate kotlin code.
- Project will setup githook to validate code before commit.
Coming soon...
- If you want to contribute to this library, you're always welcome! See Contributing Guidelines.
- Support it by clicking the ⭐️ button on the upper right of this page. ✌️
MIT License
Copyright (c) 2023 pRaNaY
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.