We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67fc70d commit e8096a9Copy full SHA for e8096a9
1 file changed
README.md
@@ -1 +1,39 @@
1
-# FirstPHPGraphQL
+# FirstPHPGraphQL
2
+
3
+## GaphQL Shema
4
5
+```graphql
6
+type Query {
7
+ echo(message: String!): String!
8
+ sum(x: Int!, y: Int!): Int!
9
+}
10
+```
11
12
+## Using
13
14
15
+php -S localhost:8080 ./graphql.php
16
17
18
+Open `http://localhost:8080/` at your browser and use.
19
20
+## Example
21
22
23
+{
24
+ echo(message: "Hello World")
25
+ sum(x: 2 y:10)
26
+ s2:sum(x: 2 y:1)
27
+ s3:sum(x: 2 y:60)
28
+ s4:sum(x: 2 y:50)
29
+ s5:sum(x: 2 y:100)
30
31
32
33
+## GraphQL Playground
34
35
+Installing at arch: `yay graphql-playground-electron`
36
37
+
38
39
+© Copyright Max Base, 2021
0 commit comments