Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/codecommission/subkit

SubKit GraphQL-Server made fast and easy
https://github.com/codecommission/subkit

ecmascript graphql graphql-api graphql-client graphql-development graphql-js graphql-server graphql-subscriptions nodejs

Last synced: about 2 months ago
JSON representation

SubKit GraphQL-Server made fast and easy

Awesome Lists containing this project

README

        

# SubKit GraphQL-Server

> GraphQL APIs made fast and easy.

## Documentation

* [SubKit GraphQL-Server Documentation](docs/README.md)
* [SubKit Examples](https://github.com/codecommission/subkit-examples)
* [Introduction to GraphQL](https://github.com/mikebild/introduction-graphql)

## Features

* Easy to use and production ready
* Lightweight and designed to being customizable
* GraphQL-Schema definition with SDL
* Best bits of ES6 and ES7 supported
* Build-in and custom GraphQL directives (@fetchJSON, @publish, @mock, @execute)
* HTTP based GraphQL-Subscriptions over Server-Side-Events
* GraphiQL enhancements
* Mocked data responses
* Authentication via JSON Web Token
* Authorization in execution context
* Query resolver cache control, resolver run time and complexity analysis
* Persistent queries

## Setup & Run

Firstly, install it:

```bash
npm install -g subkit
```

Create your first GraphQL-Server:

```bash
subkit create my-graphql-api
```

Serve locally:

```bash
cd my-graphql-api
npm run dev
```

## How to use it in my project?

Being stable and inventive and have a look to our [SubKit examples](https://github.com/codecommission/subkit-examples).

## Contributors

Every participation is welcome, just read [CONTRIBUTING](CONTRIBUTING.md), take a look at the [ROADMAP](docs/ROADMAP.md) and make your first PR!

## Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public [GitHub issue tracker](https://github.com/codecommission/subkit/issues).

## License

This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.

## Thanks

You like this and you want to see what coming next? Follow us on Twitter [`@subkit_io`](https://twitter.com/subkit_io).

Enjoy!