GithubHelp home page GithubHelp logo

express-graphql-test's Introduction

GraphQL Server in an Express Web Server

Eulier's Notes

Deep nested objects are very common in E-commerce applications or apps that scale with some technical debt. So making GraphQL a perfect candidate.

It's actually amazing how easy is to query complex data structures for exactly the data that we want.

Our API is organized in TYPES and FIELDS rather than ENDPOINTS, which makes querying multiple endpoints for combining data, unnecesary, like in a RESTful API.

Scalabiity

So as our project get’s larger, so instead of keep everything in one file. How do we :

  • Break down our schema into multiple files?.
  • Structure our project based on functionality?
  • Organize our server when we need to add more complex logic to fetch our data?

GraphQL Tools greatly help us here. An open source set of utilties that simplify how we make graphql server.

It used under the hood by Apollo GraphQL framework, but it availabe as a standalone package.

Since Apollo is a service company of graphql, is not good idea to fully commit to their services.

express-graphql-test's People

Watchers

Eulier González 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.