This is a simple rails5 application that seeks to implement a GraphQL server.
-
Create the test database
-
Apply the database migrations with,
$RAILS_ENV=test rails db:migrate
-
Run the tests by running the command,
$ rails test
Start the application server, and built-in client with
$rails s -p <your preffered port>
Create links with syntax like:
mutation {
createLink(
description: "Lym's Twitter",
url: "https://twitter.com/salymsash",
) {
id
url
description
}
}
Retrieve links with syntax like:
{
allLinks {
id
url
description
}
}