amplify-js VS apollo-server

Compare amplify-js vs apollo-server and see what are their differences.

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. (by apollographql)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
amplify-js apollo-server
42 66
9,360 13,663
0.1% 0.2%
9.8 9.1
2 days ago 5 days ago
TypeScript TypeScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

amplify-js

Posts with mentions or reviews of amplify-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • In Defense of Cognito
    1 project | /r/webdev | 11 Dec 2023
    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%
    7 projects | /r/webdev | 7 Dec 2023
    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
    1 project | dev.to | 24 Oct 2023
    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
    1 project | /r/Amplify | 16 Jun 2023
    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?
    1 project | /r/Amplify | 11 Jun 2023
  • SRP_A error when trying Custom Auth Passwordless flow
    1 project | /r/Amplify | 12 Apr 2023
    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?
    1 project | /r/webdev | 12 Apr 2023
    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
    1 project | dev.to | 11 Apr 2023
    Amplify GitHub Issue
  • The Amplify Series, Part 6: Using the power of AI and Machine Learning with Amplify Predictions
    3 projects | dev.to | 23 Mar 2023
    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
    1 project | /r/typescript | 21 Mar 2023

apollo-server

Posts with mentions or reviews of apollo-server. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-16.

What are some alternatives?

When comparing amplify-js and apollo-server you can also consider the following projects:

microsoft-authentication-library-for-js - Microsoft Authentication Library (MSAL) for JS

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

graphql-mesh - The Graph of Everything - Federated architecture for any API service

Rollup - Next-generation ES module bundler

nestjs-graphql - GraphQL (TypeScript) module for Nest framework (node.js) šŸ·

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.

AWS - AWS SDK for iOS. For more information, see our web site:

express-graphql - Create a GraphQL HTTP server with Express.

vite - Next generation frontend tooling. It's fast!

graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.