Typically forms in sporting industry are filled and collected physically, also due to the Covid-19 it harder to collect forms physically. The inspiration for this project was to provide the sports sector with ways to fill and collect forms electronically. Not only is it more convenient, but it will also help reduce work since most of the forms are later entered into a system and this work can be automated if the forms are filled and collected electronically.
What it does
We made a simple proof of concept where we fill a document from our Android device and download the recently filled PDF.
How we built it
We created an Android application in Kotlin which uses modern Android development components for the UI and Retrofit to handle the network requests for using the Anvil API.
Challenges we ran into
- Since Anvil API uses GraphQL, we started with the Apollo client for android. It turns out you need schema of the GraphQL server for Apollo to work for android and Anvil API at the time had disabled introspection of the server which resulted in us not having schema of the server and hence we had to look for other option to query the API.
- The next challenge was figuring out how to execute GraphQL queries using retrofit and again it turned out that it's not very straightforward.
Accomplishments that we're proud of
We are very proud of the fact that we figured out how to use retrofit for GraphQL queries and managed to create a simple prototype.
What we learned
We learned how we can use Anvil API to fill and sign documents online. We also learned how to use Apollo Client for Android and how to use Retrofit to execute GraphQL queries.
What's next for PartySig
Next, we want to create an ecosystem with the app where there are multiple forms to choose from and a system to easily handle them for easy processing.