An open API service indexing awesome lists of open source software.

https://github.com/kaushalvasava/graphqlcountryapp

It is Country Info App using jetapck compose, graphQl and clean architecture.
https://github.com/kaushalvasava/graphqlcountryapp

android androidapp apollographql clean-architecture clean-architecture-android flow graphql jetpackcompose kotlin networking use-cases viewmodel

Last synced: 2 months ago
JSON representation

It is Country Info App using jetapck compose, graphQl and clean architecture.

Awesome Lists containing this project

README

          

# GraphQlCountryApp
It is simple country info App using jetapck compose, GraphQL and clean architecture.

You will learn following topics in this app,
- Jetpack compose UI developement
- Clean architecture
- GraphQL setup and use
- Dependency Injection using Hilt

# What is GraphQL?

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
GraphQL provides a complete and understandable description of the data in your API,
gives clients the power to ask for exactly what they need and nothing more,
makes it easier to evolve APIs over time, and enables powerful developer tools.

# Ask for what you need, get exactly that
Send a GraphQL query to your API and get exactly what you need, nothing more and nothing less. GraphQL queries always return predictable results. Apps using GraphQL are fast and stable because they control the data they get, not the server.

# Get many resources in a single request
GraphQL queries access not just the properties of one resource but also smoothly follow references between them. While typical REST APIs require loading from multiple URLs, GraphQL APIs get all the data your app needs in a single request. Apps using GraphQL can be quick even on slow mobile network connections.

# Describe what’s possible with a type system
GraphQL APIs are organized in terms of types and fields, not endpoints. Access the full capabilities of your data from a single endpoint. GraphQL uses types to ensure Apps only ask for what’s possible and provide clear and helpful errors. Apps can use types to avoid writing manual parsing code.

Information from https://graphql.org/

# Advantages and disadvantages
https://www.javatpoint.com/graphql-advantages-and-disadvantages

Follow for more info related to App development and ask any questions regarding Android App developemnt on twitter or linkedIn.

Thank you,
Kaushal Vasava.