How to make Rails app with Graphql to take “name” and “repos” from api.github?

How to make Rails app with Graphql to take “name” and “repos” from api.github?


-1

A form in which you need to enter GitHub_login, after processing the form, display the github name and the list of repos.
Example:
Enter: dhh
Output:
David Heinemeier Hansson
actioncable
asset-hosting-with-minimum-ss1
bundler
The server should process requests using GraphQL (https://github.com/rmosolgo/graphql-ruby).
It should pull data from GitHub and process it.
To get data from GitHub, you can use the following reqs:
https://api.github.com/users/<GITHUB_LOGIN>
https://api.github.com/users/<GITHUB_LOGIN>/repos
It can be either an API or a monolithic application

After reading the documentation and trying to recreate the application using the guides from the Internet, it is clear how to interact with the database, but it is not clear how to do it correctly by using the links

New contributor

Azztwc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

1

  • Your question is very broad. Would you mind sharing your code, and what exact problem you faced when calling the external API? Do you use the official GitHub Ruby API client?

    – spickermann

    54 mins ago


Load 7 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *