https://github.com/deadcoder0904/simplest-graphql-express-server
Easiest GraphQL :art: example with Express & Fake JSON server :wink:
https://github.com/deadcoder0904/simplest-graphql-express-server
express express-graphql fake-json-server graphql
Last synced: 2 months ago
JSON representation
Easiest GraphQL :art: example with Express & Fake JSON server :wink:
- Host: GitHub
- URL: https://github.com/deadcoder0904/simplest-graphql-express-server
- Owner: deadcoder0904
- License: mit
- Created: 2017-05-05T14:26:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T19:31:06.000Z (almost 9 years ago)
- Last Synced: 2025-01-14T13:17:51.443Z (about 1 year ago)
- Topics: express, express-graphql, fake-json-server, graphql
- Language: JavaScript
- Size: 30.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# simplest-graphql-express-server
> Easiest GraphQL :art: example with Express & Fake JSON server :wink:
# Configuration
(1) Start Fake JSON server in 1 Terminal Window
`yarn run json:server`
(2) Start Express server in another Terminal Window
`yarn run dev`
(3) Open `http://localhost:1337/graphql` & enter the following
```
{
user(id: "57") {
name,
gender,
age
}
}
```
## License
[MIT](LICENSE.md) © [Akshay Kadam](https://github.com/deadcoder0904)
### Made by A2K