Create a #graphql — #firebase server just with a schema.
▻https://hackernoon.com/create-a-graphql-firebase-server-just-with-a-schema-606df8945179?source=
Create a GraphQL — Firebase server just with a schema. ?Now you can create a GraphQL server, connected to your Firebase ? database just running a command on your terminal.How to use it:Install easygraphql-firebase:$ npm install easygraphql-firebase -g2. Create a GraphQL schema file with the model you want to have:type Student key: ID! age: Int! name: String!type School key: ID! location: String! students: Int! name: String! student: Student!input StudentInput age: Int! name: String!input SchoolInput location: String! students: Int! name: String! phone: String! student: StudentInput!type Query getStudentByUsername(name: String!): Student! getStudents: [Student!]! getSchool(name: String!): School! getSchools: [School!]!type Mutation createStudent(input: StudentInput!): (...)