Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontpage example app for Apollo-Android #1648

Closed
wtrocki opened this issue Oct 3, 2019 · 7 comments
Closed

Frontpage example app for Apollo-Android #1648

wtrocki opened this issue Oct 3, 2019 · 7 comments

Comments

@wtrocki
Copy link
Contributor

wtrocki commented Oct 3, 2019

Hi guys
I'm working on promoting Apollo libraries and I see that major deciding factors for picking Apollo (and GraphQL) are the existence of reliable sample apps that give developers access to both server and client side code.

Currently, there are only 2 sample applications and server-side that is outdated.
Our team updated the server-side so we can reliably showcase the latest version with IOS:
apollographql/frontpage-server#1

Server-side works with frontpage-ios-app that is well maintained by concurrent IOS team:
https://github.com/apollographql/frontpage-ios-app

However, the android team is using non Apollo based backend (github api)
https://github.com/apollographql/apollo-android/tree/master/samples/apollo-kotlin-sample/src/main/graphql/com/apollographql/apollo/kotlinsample

Do you think it will be possible to create Android example for the following server?
Our team will be happy to help as this will be huge help with the promotion of the Apollo based GraphQL solutions.

Related community post:
https://spectrum.chat/apollo/general/community-based-example-apps~c8f2d593-6f86-4cdb-8ead-6fe83a0543f5

@digitalbuddha
Copy link
Contributor

First off nice hat! (nitpick should be blue)
Any help with documentation/samples would be highly appreciated

@martinbonnin
Copy link
Contributor

We're missing samples for subscriptions, having that would be definitely a plus.

On the other hand, I like that we're not asking android/client developers to setup a server to evaluate the library. Could we provide a ready-to-use frontpage instance with corresponding graphiQL ?

@wtrocki
Copy link
Contributor Author

wtrocki commented Oct 3, 2019

@digitalbuddha We would love to collaborate. What is needed is a new repository:
https://github.com/apollographql/frontpage-android-app

That will replicate:
https://github.com/apollographql/frontpage-ios-app

We can migrate all features from IOS app to Android

EDIT: Self hosted version of the server can be done after frontpage server is updated.
There could be a couple of services that do that like https://zeit.co etc. All will depend on what Apollo team would be willing to put into their docs. This will be much better than relying on third-party providers that actually do not use apollo stack.

What I often see is that actual value comes with understanding entire stack both:

  • Node.js based server and subscriptions
  • Native sample app.

if developers can tweak both then they can evaluate the entire solution much easier.
From my experience - from newbie to sample app - regenerating entire project (server and client) from scratch on Apollo takes 3-4 days.

Having a single frontpage app as an alternative to documentation will be amazing.
I'm happy to take over some maintenance for server and native implementations.

@digitalbuddha
Copy link
Contributor

@martijnwalraven thoughts?

@wtrocki
Copy link
Contributor Author

wtrocki commented Nov 12, 2019

Hi

We started building https://github.com/aerogear/native-android-example that is basing on the frontpage-server and frontpage-ios application. It is using other features like push and IDM features that can be ignored.

@martinbonnin
Copy link
Contributor

Hi @wtrocki !

Very sorry for the ultra late reply and for missing this issue earlier this year when adding an android tutorial. The tutorial is now the default place to compare server and client code and has fullstack and ios equivalents.

Do you think that provides enough features/details to make a proper showcase/demo of the apollo libs? Anything else you'd like to see there?

@martinbonnin
Copy link
Contributor

Closing for inactivity. Please let me know if you want me to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants