This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
$ rails db:seed
There's a performance problem potentially lying in such a query. Find it and fix it.
zones {
id
name
restaurants {
id
name
}
}(or in CURL)
curl --location --request POST 'http://localhost:3000/graphql' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"query {\n zones {\n id\n name\n restaurants {\n id\n name\n }\n }\n}","variables":{}}' | jq .We'd like to use pagination, while fetching restaurants. Provide such possibility
Add mutations for adding/deleting restaurants and zones (add tests to prove they work)
Modify restaurants query in such a way to let it filter restaurants by name