graphql-yoga
amplify-js
Our great sponsors
graphql-yoga | amplify-js | |
---|---|---|
23 | 42 | |
7,999 | 9,361 | |
0.7% | 0.1% | |
9.3 | 9.9 | |
6 days ago | 4 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-yoga
- Create Cookies in GraphQL-Yoga Resolvers using AWS Lambda Integration
-
Announcing GraphQL Yoga v3
We have migration guide try it out! We can't wait answer your questions and get your feedback on how we can make GraphQL Yoga even more better!
-
Apollo server subscriptions in production
Within our GraphQL Yoga monorepository we have a subscription package which includes a maintained (and fully TypeScript typed) PubSub implementation. https://github.com/dotansimha/graphql-yoga/tree/main/packages/subscription / https://the-guild.dev/graphql/yoga-server/v3/features/subscriptions#pubsub
-
We built a database UI for Postgres with an instant GraphQL API
It's easy to do with a Serverless Function and with GraphQL Yoga.
-
What Makes Defending GraphQL APIs Challenging to Security Engineers
And since Yoga server works perfectly with Envelop plugins, a verity of error handling and security plugins are available on the plugin hub
-
How to Build a Type-safe GraphQL API using Pothos and Kysely
In today's article we are going to create a GraphQL api using the Koa framework together with the GraphQL Yoga library and Pothos. In addition, we will use Kysely, which is a query builder entirely written in TypeScript.
-
End-to-end GraphQL error handling?
I want to share my approach to handling errors in GraphQL resolvers (I use GraphQL Yoga on the server-side) and pass them to the frontend side (where I use Svelte + @urql/svelte).
-
how it subscription work on the apollo server?
Last, in case you just want a simple GraphQL server where you don’t have to setup anything and subscriptions work out of the box (using SSE), you might wanna check out GraphQL Yoga v2 (Disclaimer: I am maintaining this library).
-
GraphQl subscriptions Nodejs
What is your server setup like? Have you tried the latest GraphQL Yoga ? It has everything configured OOTB including subscriptions.
-
RedwoodJS Reaches 1.0 Today
Not that I know of. But here are a few things that may be of interest.
Redwood's GraphQL API is built on Yoga (we collaborate tightly with The Guild) — https://www.graphql-yoga.com You just need a GraphQL Client, which The Guild already has an option ready for you https://apollo-angular.com (Note: Apollo or other clients fine as well.)
Here's an example "How To" about connecting Next (React) with Redwood: https://community.redwoodjs.com/t/how-to-connect-a-next-js-f...
I'm a co-founder of Redwood and help lead the project so I can say as a matter of fact we a highly collaborative and enjoy (and support) exploratory projects. It's a priority for us to better demonstrate the power of Redwood's API through examples. If you'd be interested in digging in collaboratively with the community, I can help connect the dots. Just kick things off over here and tag me @thedavidprice: https://community.redwoodjs.com
No pressure at all! Just wanted you to know the invitation is open. Anytime.
amplify-js
-
In Defense of Cognito
One note of caution, though: Amplify uses a frontend-only Cognito integration that stores long-lived, never-rotating refresh tokens in browser storage, where any XSS vulnerability would have access to them. A more secure approach is to implement a couple of backend API routes to store the refresh tokens in `HttpOnly` cookies instead, which I outlined here (option 1 in your case to support SSO). I'll probably open source a solution to do this early next year so we don't all have to keep reinventing this wheel (probably why AWS calls their conference re:invent).
-
Auth0 increases price by 300%
I'm ramosbugs on GitHub (that comment is mine). If you subscribe to https://github.com/aws-amplify/amplify-js/issues/1218 I'll post a comment there once I release a solution.
-
Server-Side Rendering with AWS Amplify
Amplify also lets you host a backend, which it runs in Lambda functions. You don't have a lot of control over it, but it works well for its intended audience: People who wouldn't know what to do if they had a lot of control over their Lambda functions. Amplify also lets you consume other AWS services easily, through declarative and easy-to-use libraries. That way, you can consume Cognito or S3 from the frontend without knowing a lot about Cognito or S3. Here's the complete list of libraries for Amplify, and you can check the Readme of the JavaScript one as an example of its features.
-
React Native Storage.put() results in error
Whenever I call Storage.put() inside my React Native (with Expo) application, I get an error of [TypeError: undefined is not a function]. Doing some internet digging, after hours of searching, I found only one other reference to this kind of error, and that is with the DataStore: https://github.com/aws-amplify/amplify-js/issues/10764
- How was you experience with nextJS using SSR in amplify?
-
SRP_A error when trying Custom Auth Passwordless flow
Hello! Can you please create a GitHub issue here for us to investigate this further? https://github.com/aws-amplify/amplify-js/issues
-
Cookies vs local storage - what to use when?
Thanks for bringing this up. This discussion on the project's github is equally insightful on the subject.
-
Understanding ID Token vs. Access Token in AWS Amplify
Amplify GitHub Issue
-
The Amplify Series, Part 6: Using the power of AI and Machine Learning with Amplify Predictions
Bug: There is currently, at the time of writing, a bug in Amplify that does not allow us to use the voiceId “Kevin”, which we selected when creating the backend resources. Selecting the voiceId “Amy” works, so we will use that.
- RFC: Amplify JS TypeScript Improvements
What are some alternatives?
apollo-server - 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
microsoft-authentication-library-for-js - Microsoft Authentication Library (MSAL) for JS
graphql-helix - A highly evolved GraphQL HTTP Server 🧬
passwordless-auth - Allows a user to login directly via email without a need for entering passwords using Cognito
mercurius-typescript - TypeScript usage examples and "mercurius-codegen" for Mercurius
Rollup - Next-generation ES module bundler
express-graphql - Create a GraphQL HTTP server with Express.
Next.js - The React Framework
AWS - AWS SDK for iOS. For more information, see our web site:
blog-graphql-nestjs-fileupload - example code on how to upload a file with multipart requests to GraphQL in nestjs
vite - Next generation frontend tooling. It's fast!