Best of GraphQLJuly 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    The ultimate multi-model database

    SurrealDB is a versatile multi-model database designed for modern applications. It integrates the database layer, querying layer, and API/authentication into one platform. It supports SurrealQL, GraphQL, REST, and JSON-RPC for data access and modification. SurrealDB can handle advanced querying without complex JOINs and offers real-time data syncing. It can operate in-memory or as a distributed cluster, suitable for various environments. Additionally, it supports embedded JavaScript functions and ES2020 standards for advanced data manipulation.

  2. 2
    Article
    Avatar of webtoolsweeklyWeb Tools Weekly·2y

    CSS Tools, JSON, Databases, Vue

    This post highlights various tools spanning CSS, HTML, JSON, databases, and Vue. It includes advanced CSS and HTML browser extensions, useful JavaScript libraries, and tools to simplify database and JSON management. Additionally, it features a collection of Vue tools for creating maps, handling props dynamically, and scaffolding new projects with ease.

  3. 3
    Article
    Avatar of substackSubstack·2y

    GraphQL Explained

    GraphQL is a modern query language and server-side runtime that offers a more efficient, powerful, and flexible alternative to traditional REST APIs. It allows clients to request exactly the data they need through a single endpoint, supports real-time updates, and uses a strongly typed schema to ensure predictable and reliable queries. These features make it a popular choice for contemporary web development.

  4. 4
    Article
    Avatar of devtoDEV·2y

    Don't ride a donkey when you can drive a brand-new sports car

    GraphQL offers a modern approach to API development, providing type safety, self-documentation, and better performance. It allows clients to retrieve exactly the data they need and supports multiple programming languages, making it versatile for various use cases. Tools like GraphQL Playground, GraphiQL, and GraphQL codegen enhance the development experience by simplifying querying and reducing boilerplate code. Communities such as 'The Guild' offer support, making GraphQL a robust choice over traditional REST APIs.

  5. 5
    Article
    Avatar of infoworldInfoWorld·2y

    How to get started with GraphQL

    GraphQL, developed by Facebook, is an alternative to REST APIs for creating and consuming web-based APIs. It features strongly typed fields and a schema-based approach to ensure data consistency. The post covers the basics of designing and implementing a GraphQL API, including languages and frameworks, data query schema, storing and retrieving data, queries and mutations, caching, and available tools. Python's Graphene library is highlighted as an example for implementing GraphQL.

  6. 6
    Article
    Avatar of telerikTelerik·2y

    Introduction to TypeGraphQL

    TypeGraphQL is a library designed to simplify the creation of GraphQL APIs in a Node.js and TypeScript environment by leveraging decorators and TypeScript classes. This approach enhances type safety and reduces boilerplate, creating more maintainable and scalable code. Key features include schema definition, resolvers, and authorization checks. With TypeGraphQL, developers can produce secure, scalable, and maintainable APIs efficiently, integrating features such as dependency injection, validation, and middleware.

  7. 7
    Article
    Avatar of rpythonReal Python·2y

    Build a Blog Using Django, GraphQL, and Vue Quiz – Real Python

    Test your knowledge of building a Django blog back end and a Vue front end, using GraphQL to connect them, with this interactive quiz. The quiz has 8 questions, no time limit, and offers a score out of 100% based on correct answers.

  8. 8
    Article
    Avatar of rubylaRUBYLAND·2y

    Separation of data and view layers in React components

    Separating the data layer from the view layer in React components can improve testability and maintainability. Using Apollo and GraphQL code generator, you can create hooks for data fetching and pass the resultant data to a view component, making the components easier to test with tools like React Testing Library or render in Storybook. This approach eliminates the need for stubbing the data layer during tests.

  9. 9
    Article
    Avatar of aspnetASP.NET Blog·2y

    How use a Blazor QuickGrid with GraphQL

    Learn how to integrate a Blazor QuickGrid component with a GraphQL data source using Strawberry Shake. The post details steps to set up the project, create a GraphQL client, and employ the QuickGrid's virtualization feature for optimal performance. It also includes customization tips and how to modify GraphQL queries for pagination.

  10. 10
    Article
    Avatar of hnHacker News·2y

    Design a GraphQL Schema So Good, It'll Make REST APIs Cry

    Creating a robust GraphQL schema is vital for scalable, production-ready APIs. This guide outlines a step-by-step process using an example application, TechTalent, highlighting core principles such as defining core types, modeling relationships, and planning query and mutation operations. It also covers pagination, real-time updates, custom scalars, interfaces for shared fields, and comprehensive documentation. Following these best practices ensures a well-structured, maintainable schema that facilitates efficient development and a reliable experience for API consumers.

  11. 11
    Article
    Avatar of newstackThe New Stack·2y

    Is GraphQL Over or Do We Just Need to Rethink It?

    GraphQL, developed by Facebook and open-sourced in 2015, has gained popularity for its flexible and efficient data query capabilities. However, its growth is now hindered by security, performance, and complexity issues. To ensure its future viability, the community may need to rethink how GraphQL is defined and implemented, leveraging it as a development tool and considering compiler-based implementations to overcome its current challenges.

  12. 12
    Article
    Avatar of elixirstatusElixirStatus·2y

    Exploring Open Source Elixir Projects: Innovation and Community Contributions

    Explore open-source Elixir libraries that boost productivity and enhance web development. Highlights include the Phoenix Framework’s advanced features, Absinthe for GraphQL APIs, Oban for background job processing, and other tools for multi-tenancy, caching, JWT authentication, HTTP clients, encryption, AWS integration, localization, push notifications, and testing. These libraries demonstrate Elixir's growth and adoption for creating scalable applications.