Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# graphql-mock-server
Simple Graphql mock sever you just need to provide your schema

to 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