Prisma1: Local mock server for offline development

Created on 1 Jun 2017  路  6Comments  路  Source: prisma/prisma1

In some cases it might be needed to have a local mock server for offline development with a in-memory datastore. It basically could look like this:

graphcool mock my-schema.graphcool

> Local GraphQL server running on https://localhost:8080

Thanks a lot to @BrandonBloom for the suggestion

kinfeature arecli areapi

Most helpful comment

Surprise @pie6k! In case you haven't read our recent announcement. 馃帀

All 6 comments

Definitely would love this. Testing would be much quicker and we would be able to isolate our tests more easily from other team members also running tests against the same DB. Running all of the tests against a local graph.cool instance would fix that problem.

Would be great! Useful when traveling, in continuous integration testing, etc.

Hmm... sound cool, but I would be first who would use it to simply host it on my own. It's like open-sourcing graph.cool engine. Pretty sure they will not do this (at least not as a feature)

Surprise @pie6k! In case you haven't read our recent announcement. 馃帀

I've created a new issue to track the progress on mocking #1187

@schickling yup! that was a huge surprise! Thanks guys and good luck!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thomaswright picture thomaswright  路  3Comments

marktani picture marktani  路  3Comments

schickling picture schickling  路  3Comments

hoodsy picture hoodsy  路  3Comments

marktani picture marktani  路  3Comments