Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vladimir-dejanovic/graphql-mock-server
Simple Graphql mock sever you just need to provide your schema
https://github.com/vladimir-dejanovic/graphql-mock-server
graphql graphql-server mock mock-server node node-js nodejs
Last synced: 19 days ago
JSON representation
Simple Graphql mock sever you just need to provide your schema
- Host: GitHub
- URL: https://github.com/vladimir-dejanovic/graphql-mock-server
- Owner: vladimir-dejanovic
- License: gpl-3.0
- Created: 2019-03-23T23:23:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-23T23:51:38.000Z (almost 6 years ago)
- Last Synced: 2024-10-27T16:23:14.750Z (2 months ago)
- Topics: graphql, graphql-server, mock, mock-server, node, node-js, nodejs
- Language: JavaScript
- Size: 357 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# graphql-mock-server
Simple Graphql mock sever you just need to provide your schemato create docker image
```
$ docker build -t mock_graph .```
Replace content of *data/mock.schema* with your schema and then just start mock server
To start graphql mock server run
```
$ docker run --rm -d -p 8000:8000 -v `pwd`/data:/opt/data:ro --name mock_graph
```Now from browser hit http://localhost:8000/ and have fun