# graphql_demo **Repository Path**: hm_coder/graphql_demo ## Basic Information - **Project Name**: graphql_demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-12 - **Last Updated**: 2024-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 快速入门: 1. 导入依赖 2. 编写配置文件 3. 编写schema.graphql 4. 编写数据接口 5. 测试 * 注意测试地址: `http://localhost:9090/graphiql` 测试脚本如下: ``` # { # hello # } # query { # helloParam(name: "张三") # } # query { # helloParams(name: "张三", age: 12) # } # mutation { # helloMutationMapping # } # mutation { # helloParamMutationMapping(name: "小武") # } # mutation { # helloParamsMutationMapping(name: "小武", age: 22) # } query { findByQuery(queryDTO:{ name:"张三", age:23, address:"上海", }){ id name } } ```