subscriptions-transport-ws
DISCONTINUED
amplify-js
Our great sponsors
subscriptions-transport-ws | amplify-js | |
---|---|---|
11 | 42 | |
1,515 | 9,355 | |
- | 0.1% | |
6.2 | 9.9 | |
about 2 years 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.
subscriptions-transport-ws
-
Fixing a 3 second lockup in our app by switching from Apollo Client to URQL
Additionally, we created a bit more work for ourselves by upgrading the library we use for GraphQL subscriptions over web sockets, moving from the seemingly unmaintained subscriptions-transport-ws to the active graphql-ws project (which is URLQ’s library of choice for subscriptions).
- Is this a graphql thing or JSON thing?
-
GraphQL Subscriptions and Mikro-Orm in 2021
Okay but seriously, if you've fallen down the rabbit hole of Apollo docs pointing you towards one library (subscription-transport-ws) which then points you to another (graphql-ws) , and so on and so forth, then hopefully this helps pull you out.
-
Looking for GraphQL server with ws-transport ability
I'm looking for graphql server that can do queries and mutations over websocket, like subscriptions-transport-ws. Juniper and async-graphql both looks promising and async-graphql at least uses wording Subscriptions (WebSocket transport) in features but i couldn't find much more or any examples about that from the docs or repo.
-
three ways to deploy a serverless graphQL API
graphql-yoga is built on other packages that provide functionality required for building a GraphQL server such as web server frameworks like express and apollo-server, GraphQL subscriptions with graphql-subscriptions and subscriptions-transport-ws, GraphQL engine & schema helpers including graphql.js and graphql-tools, and an interactive GraphQL IDE with graphql-playground.
-
How does a client know if the server managing its subscription goes offline? (Multiple instances)
The javascript implementation is at subscriptions-transport-ws
-
GraphQL over WebSockets
Okay, so, how do I use WebSockets to add support for the GraphQL subscription operation? Doing a basic Google search, you’d be faced with a single solution, namely subscriptions-transport-ws. Looking through the repository, checking recent comments, reading through the issues and open PRs - might have you notice the abundance of bugs and their security implications. A summary can be found here.
-
The Stack #3
While subscription-transport-ws from Apollo initially started off this journey, it is not actively maintained and GraphQL WS by Denis definitely is a great replacement to that having no external dependencies and having the ability to work across many frameworks.
-
I need a little help implementing user online status tracking with Apollo/GraphQL.
apollo-server plans to remove WebSocket support, which is currenlty done over the deprecated graphql-ws protocol (as implemented by the unmaintained subscription-transport-ws module by apollo), in the next major version.
-
GraphQL Query and Mutation over Websockets
https://github.com/apollographql/subscriptions-transport-ws, which is used by Apollo Server does support executing queries and mutations actually but you are better off moving away it anyway (check the text in their README!)
amplify-js
-
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.
TL;DR: Amplify stores Cognito's long lived, never-rotating refresh tokens in local storage, where they can be stolen by any XSS vulnerability. A backend is needed in order to use `HttpOnly` cookies, but Cognito doesn't provide this for its users. You have to build it yourself, as with so many things in the AWS ecosystem.
-
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.
-
Monthly Amazon Location Service Updates - 2022.10
Amplify Geo - Add PlaceId support for Geo Autocomplete feature PlaceID is now available in the autocomplete function.
-
Building Serverless Web Applications with React & AWS Amplify
the Auth.signUp method returns a Promise with a data object of type [ISignUpResult](https://github.com/aws-amplify/amplify-js/blob/4644b4322ee260165dd756ca9faeb235445000e3/packages/amazon-cognito-identity-js/index.d.ts#L136-L139) with a [CognitoUser](https://github.com/aws-amplify/amplify-js/blob/4644b4322ee260165dd756ca9faeb235445000e3/packages/amazon-cognito-identity-js/index.d.ts#L48)
-
Recently I found an open-source solution to build my own login and auth to replace AWS Cognito, should I use it in production?
Using the amplify auth library is extremely bloated and bug ridden.
-
How to add a location search widget to your web app using Amazon Location Service
In this post, you will learn how you can add a location search widget to your web app using Amazon Location Service’s Places API. We will build the app using AWS Amplify and Vue — We will create, deploy, and manage AWS resources using Amplify CLI and we will build the app components using Amplify JavaScript and MapLibre GL JS. The app will have a basemap with navigation controls and a location search widget with geocoding, reverse-geocoding, and autocomplete support — the following GIF shows the end results.
-
Top Auth0 alternatives: Auth0 vs Okta vs Cognito vs SuperTokens [2022]
There have also been complaints about Cognito being slow to respond to bugs and feedback. For example this issue was breaking the flow for many users and was open for 4 years before it was resolved with the help of a community member.
-
Allow user access to your API without authentication (Anonymous user access)
We use AWS-amplify to create a frontend application. AWS Amplify is a JavaScript library for frontend and mobile developers building cloud-enabled applications. You can see more here
- AWS para desenvolvedores frontends
What are some alternatives?
graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
microsoft-authentication-library-for-js - Microsoft Authentication Library (MSAL) for JS
uWebSockets.js - μWebSockets for Node.js back-ends :metal:
mercurius - Implement GraphQL servers and gateways with Fastify
passwordless-auth - Allows a user to login directly via email without a need for entering passwords using Cognito
ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
fastify-websocket - basic websocket support for fastify
altair - ✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.
Rollup - Next-generation ES module bundler
graphql-yoga - 🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
serverless-graphql - Serverless GraphQL Examples for AWS AppSync and Apollo
graphql-subscriptions - :newspaper: A small module that implements GraphQL subscriptions for Node.js