Exposes a GraphQL API to programmatically interact with the Decidim platform via HTTP.
decidim-api will get expose two nice endpoints:
/api: The main GraphQL endpoint that holds the actual API.
/api/docs: Nicely-written docs of the entities of the API.
/api/graphiql: A neat sandbox to interactively play with the API and its capabilities.
Add this line to your application’s Gemfile:
And then execute: