All Projects → mkmarek → Graphql Dotnetcore

mkmarek / Graphql Dotnetcore

Licence: mit
GraphQL for .NET core based on https://github.com/graphql/graphql-js

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Graphql Dotnetcore

Conventions
GraphQL Conventions Library for .NET
Stars: ✭ 198 (+104.12%)
Mutual labels:  api, graphql, dotnetcore
Up
Up focuses on deploying "vanilla" HTTP servers so there's nothing new to learn, just develop with your favorite existing frameworks such as Express, Koa, Django, Golang net/http or others.
Stars: ✭ 8,439 (+8600%)
Mutual labels:  api, graphql
Miraql
GraphQL performance monitoring & error-handling tool
Stars: ✭ 97 (+0%)
Mutual labels:  api, graphql
Android Okgraphql
Reactive GraphQl client for Android
Stars: ✭ 64 (-34.02%)
Mutual labels:  api, graphql
Graphql Inspector
🕵️‍♀️ Validate schema, get schema change notifications, validate operations, find breaking changes, look for similar types, schema coverage
Stars: ✭ 1,059 (+991.75%)
Mutual labels:  api, graphql
Rest Layer
REST Layer, Go (golang) REST API framework
Stars: ✭ 1,068 (+1001.03%)
Mutual labels:  api, graphql
Best Of Web Python
🏆 A ranked list of awesome python libraries for web development. Updated weekly.
Stars: ✭ 1,118 (+1052.58%)
Mutual labels:  api, graphql
Nextjs Graphql Sample
A simple app to demonstrate basic API functions built with REST and GraphQL
Stars: ✭ 29 (-70.1%)
Mutual labels:  api, graphql
Graphql Microservices
Showcasing a graphql microservice setup
Stars: ✭ 68 (-29.9%)
Mutual labels:  api, graphql
Requent
A GraphQL like interface to map a request to eloquent query with data transformation for Laravel.
Stars: ✭ 78 (-19.59%)
Mutual labels:  api, graphql
Purescript Graphql
End to End typesafe GraphQL with PureScript
Stars: ✭ 79 (-18.56%)
Mutual labels:  api, graphql
Omdb Graphql Wrapper
🚀 GraphQL wrapper for the OMDb API
Stars: ✭ 45 (-53.61%)
Mutual labels:  api, graphql
Graphql Lodash
🛠 Data manipulation for GraphQL queries with lodash syntax
Stars: ✭ 1,003 (+934.02%)
Mutual labels:  api, graphql
Wertik Js
💪 A library that powers your app with GraphQL + Rest API
Stars: ✭ 56 (-42.27%)
Mutual labels:  api, graphql
Graphql Music
🎸A workshop in building a GraphQL API
Stars: ✭ 33 (-65.98%)
Mutual labels:  api, graphql
Ionic Example App
A Ionic Example App (previously known as ionic 2 examples). Contains different examples on how to use the Ionic Framework
Stars: ✭ 61 (-37.11%)
Mutual labels:  api, dotnetcore
Ariadne
Ariadne is a Python library for implementing GraphQL servers using schema-first approach.
Stars: ✭ 1,274 (+1213.4%)
Mutual labels:  api, graphql
Hoppscotch
👽 Open source API development ecosystem https://hoppscotch.io
Stars: ✭ 34,569 (+35538.14%)
Mutual labels:  api, graphql
Django Graph Api
Pythonic implementation of the GraphQL specification for the Django Web Framework.
Stars: ✭ 29 (-70.1%)
Mutual labels:  api, graphql
Graphql Server
This is the core package for using GraphQL in a custom server easily
Stars: ✭ 65 (-32.99%)
Mutual labels:  api, graphql

Library for creating GraphQL servers with .NET core.

Build Status Coverage Status NuGet MyGet Pre Release

Code Example

public class Query : GraphQLObjectType
{
	public Query() : base("Query", "Root query defintion")
	{
		this.Field("sum", (int[] numbers) => numbers.Sum());
	}
}

public class MyAwesomeSchema : GraphQLSchema
{
    public MyAwesomeSchema()
    {
        var rootQuery = new Query();
        this.AddKnownType(rootQuery);
        this.Query(rootQuery);
    }
}

[Route("api/[controller]")]
public class GraphQLController : Controller
{
    private MyAwesomeSchema schema = new MyAwesomeSchema();

    [HttpPost]
    public JsonResult Post(string query)
    {
        return this.Json(
            new
            {
                data = this.schema.Execute(query)
            }
        );
    }
}

Query

{
  sum(numbers: [1,2,3])
}

Result

{
  "sum" : 6
}

Interested? Have a look on a better example here!

Documentation

  1. Scalar type translation
  2. Nullability
  3. Untyped object definition
  4. Typed object definition
  5. Interfaces
  6. Input object definition
  7. Schema
    • Queries
    • Mutations
    • Subscriptions (TBD)
    • Execution
  8. Introspection
  9. Validation
  10. Roadmap

Contributions

Wanna contribute? Awesome! Please follow this process to get your feature or bugfix in place.

Fork it

Clone it

git clone https://github.com/<your_username>/graphql-dotnetcore.git
cd graphql-dotnetcore

Do it

git checkout develop
...
git add -A
git commit -m "Awesome feature"
...
git add -A
git commit -m "Fix awesome feature"
...
git add -A
git commit -m "Fix the previous fix for awesome feature"
...

Squash it

git rebase -i <commit>

More info about squashing http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html.

Push it

git push

Request it

The final step will be creating a pull request. Refer the github docs for more details about that https://help.github.com/articles/using-pull-requests/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].