Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nashaofu/graphql-demo
GraphQL demo
https://github.com/nashaofu/graphql-demo
demo graphql koa
Last synced: 10 days ago
JSON representation
GraphQL demo
- Host: GitHub
- URL: https://github.com/nashaofu/graphql-demo
- Owner: nashaofu
- License: mit
- Created: 2018-01-08T12:59:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T15:49:19.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T04:12:07.683Z (about 1 month ago)
- Topics: demo, graphql, koa
- Language: JavaScript
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# graphql-demo
GraphQL demo```bash
# install parcel
npm i -g parcel# install dependencies
npm install# build static file
npm run build# run server
npm run dev
```## TODOS
- [ ] 编写多个参数变更
- [ ] 减少参数层级,希望实现如下示例变更,目前还不清楚是否可以实现
```javascript
{
input_name: {
name: 'nashaofu',
sex: 'man',
age: 20
}
}
```
```javascript
{
input_name: "nashaofu"
input_sex: 'man',
input_age: 20
}
```