Get a full fake GraphQL API with zero coding in less than 30 seconds. Start playing with GraphQL right away with json-graphql-server, a testing and mocking tool for GraphQL. All it takes is a JSON of your data. Your data file should export an object where the keys are the entity types. The values should be lists of entities, i.e. arrays of value objects with at least an id key. The json-graphql-server accepts queries in GET and POST. Under the hood, it uses the express-graphql module. Please refer to their documentations for details about passing variables, etc. Note that the server is GraphiQL enabled, so you can query your server using a full-featured graphical user interface, providing autosuggest, history, etc. Based on your data, json-graphql-server will generate a schema with one type per entity, as well as 3 query types and 3 mutation types.

Features

  • Start playing with GraphQL right away
  • Testing and mocking tool for GraphQL
  • Get a full fake GraphQL API
  • Zero coding in less than 30 seconds
  • Inspired by the excellent json-serverThe json-graphql-server accepts queries in GET and POST

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow json-graphql-server

json-graphql-server Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of json-graphql-server!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2023-03-02