This is a Hacker News API clone built as a tutorial for learning GraphQL. I followed the Rails track on How to GraphQL. Through this tutorial I defined a GraphQL schema, connected various types, wrote mutations to create and edit data, and I built complex queries. In addition, several of the resolver functions are covered with unit tests.
- Clone the Repo onto your Local Machine
git clone [email protected]:dalibran/hn-api.git
- Navigate to the Project Directory and Install Relevant Gems
bundle install
- Start the Rails server and navigate to /graphiql to play with the API
rails s