Git Product home page Git Product logo

graphql-intro's Introduction

A step-by-step intro to GraphQL in .NET

Prerequisites

You must have installed in your machine:

  • MongoDb: versione >= 4.0. The project works with DB on port 27017, not authenticated
  • .NET: version 6+
  • VS code

How to follow the introduction

This introduction is structured in progressive steps. Each of the steps is managed on a separate branch which includes the previous steps; in this way it is possible to follow the steps of the guide by advancing in the numbered branches and following the notes present in the linked wiki.

Scope

The guide wants to be a gentle introduction to the use of GraphQL with .NET framework. In my learning path I have decided to limit the scope of my research/study focusing exclusively on research capabilities and functionalities; for this reason I do NOT deal with issues related to Mutations or Subscriptions or other topics at all. In this intro I will cover:

  • an overview of what GraphQL is and its specifications
  • how to use GraphQL to read data in databases (MongoDb in particular)
  • how to implement useful aspects for the execution in production, such as eg. Security, Monitoring and Caching
  • how to allow a client Angular to make GraphQL calls

Intro steps

  1. Project Setup
  2. Hotchocolate GraphQL
  3. Relay
  4. Resolvers
  5. DataLoaders
  6. Middlewares
  7. Monitoring with Application Insights
  8. Automatic Persisted Queries
  9. GraphQL tools
  10. Security
  11. Authentication/Authorization
  12. Apollo Angular
  13. Schema Stitching
  14. Schema Federation
  15. Polymorphic Ids
  16. GraphQL Testing
  17. Http Interceptors
  18. Conditional field projection
  19. Subscriptions

If you want to hands on this intro, clone the repo and switch to the step branches.

git clone https://github.com/williamverdolini/graphQL-intro.git
cd graphQL-intro/
git switch 01.project-setup

Have fun.

graphql-intro's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.