EasyRESTToGQL ·
A package to simple convert your REST API into a GQL API
Installation
Using npm:
$ npm i easyRESTToGQL
In Node.js:
// Load the full build.const Server Fields Entities = ;const StringField IntField = Fields;const Entity = Entities; const nameField = "name";const ageField = "age"; const clientEntity = "Client" "localhost:3000/clients"nameField ageField; const server = "4000"clientEntity; serverstart;
For more examples visit the example folder
Versioning
Semantic Versioning
EasyRESTToGQL follows semantic versioning. We release patch versions for critical bugfixes, minor versions for new features or non-essential changes, and major versions for any breaking changes. When we make breaking changes, we also introduce deprecation warnings in a minor version so that our users learn about the upcoming changes and migrate their code in advance.
Every significant change is documented in the changelog file.
Releases
Every two weeks there is a release. If you want to know what are the features we are working, here are the current sprint tasks.
Contributing
Code of Conduct
EasyRESTToGQL has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.
Contributing Guide
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to EasyRESTToGQL.
Contributors
Special thanks to contributors
License
EasyRESTToGQL is MIT licensed