chore: Integrate graphql to the express app
This commit is contained in:
9
packages/backend/src/graphql/graphql-schema.ts
Normal file
9
packages/backend/src/graphql/graphql-schema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { buildSchema } from 'graphql';
|
||||
|
||||
const graphQLSchema = buildSchema(`
|
||||
type Query {
|
||||
hello: String
|
||||
}
|
||||
`);
|
||||
|
||||
export default graphQLSchema;
|
||||
Reference in New Issue
Block a user