amplify-cli VS amplify-js

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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
amplify-cli amplify-js
16 42
2,786 9,363
0.3% 0.1%
9.3 9.9
3 days ago 2 days ago
TypeScript TypeScript
Apache License 2.0 Apache License 2.0
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-cli

Posts with mentions or reviews of amplify-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-23.
  • The Amplify Series, Part 6: Using the power of AI and Machine Learning with Amplify Predictions
    3 projects | dev.to | 23 Mar 2023
    Bug: Before continuing, we need to add some manual changes to the generated output since there is a bug in the 10.8.1 version of the Amplify CLI. To fix the issue, open the amplify/backend/predictions/identifyText<>/parameters.json file and add the following three key-value pairs to it:
  • Contribute to AWS Amplify
    4 projects | dev.to | 2 Mar 2023
    AWS Amplify CLI - GitHub
  • Add Auth To Your Nuxt 3 App in Minutes With Amplify
    2 projects | dev.to | 3 Feb 2023
    If this is the first time using Amplify you'll need to install the Amplify CLI. This tool will help us setup and add Amplify's services.
  • Amplify UI – Don't just prototype. Connect your UI to the cloud
    2 projects | news.ycombinator.com | 9 Jul 2022
    This disconnection between the initial business cases of DynamoDB and Amplify can even be seen within the AWS teams themselves. [4] We don't believe any of them are to blame. The solo Front End Engineer bootstrapping a quick Amplify app for a PoC feels like a way different use case than a team of highly trained data engineers working on their Single Table Design for their micro-service. Amplify rightfully tries to offer an easy way to deal with storing data. And so it follows a standard SQL design with DynamoDB. This though leads to bad performance (original selling point of DynamoDB) or other limitations hard to anticipate.

    Overall it is pretty clear and fine that Amplify focuses on PoC projects rather than production ones (with features like Geo-tagging [5] but no way to migrate data). However, when starting to get traction, it is a shame we need to completely eject instead of being able to extend because of lack of (boring but necessary) fundamentals.

    [1] https://github.com/aws-amplify/amplify-cli/issues/10164

  • Amplify and AWS? Do the work together at all?
    1 project | /r/Amplify | 19 Jun 2022
    Unfortunately, and this is a bad look for AWS, Amplify still hasn't migrated to CDK v2, meaning they're still using the maintenance-only CDK v1, which is incredibly easy to break due to incompatible packages, and isn't getting any new features. Further, Amplify's implementation of CDK (I think it's the StackSynthesizer subclass) doesn't even support some of the most productive features of CDK like the ability to create a Lambda image from a Dockerfile. You have to define and push the image separately which misses the point of having the entire app defined within Amplify.
  • Problem with spaces in name of amplify location
    1 project | /r/Amplify | 2 Jun 2022
    Hi u/recursivebob , can you please submit an issue to the Amplify CLI on Github using this link
  • BaaS (Firebase, AWS Amplify) and alternatives
    1 project | /r/webdev | 6 Apr 2022
    Hi all, for a new project I need to create a web app and mobile app and would like to hear your opinion on what would be the right architecture. The architecture has two peculiarities, it needs: - a service for crawling/scraping and writing into a (document) DB - full search text support for the crawled/scraped data Since the budget for running is low and time is tight, I was looking into serverless and BaaS architectures. I like the idea of using a BaaS architecture so I was I thinking if Firebase or AWS Amplify are a good fit. Regarding the full search text, Firestore does not support full text search out of the box, but it is possible to use Elastic, Algolia, Typesense (https://firebase.google.com/docs/firestore/solutions/search). With AWS Amplify it's apparently even more easier - it appears that it can be directly connected to AWS ElasticSearch. Regarding the crawling/scraping, I could use e.g. EC2 instances. Now from the time perspective looks good, but not from the budget perspective. As I found here: https://github.com/aws-amplify/amplify-cli/issues/3860 an ElasticSearch Instance on AWS can cost 70$ for 2 hours!!! This is around the budget for a whole month... So what you guys would advice me? Are there any alternatives? How can I move fast with a minimal cost?
  • Deploy AWS Amplify GraphQL Transformers with AWS CDK
    5 projects | dev.to | 13 Mar 2022
    AWS Amplify code is open-sourced and could be found on GitHub at https://github.com/aws-amplify/amplify-cli. We could make use of the NPM packages deployed independently to recreate the functionality offered by the AWS Amplify CLI regarding the GraphQL transformers. The entry point for generating the Appsync resolvers could be found here and the class we are interested in is GraphQLTransform which takes as a parameter all the individual transformers and iterates over them to generate the GraphQL resolvers and the associated CloudFormation stacks for deploying those resolvers.
  • Login in Amplify CLI with SSO not working using AWS access keys
    1 project | /r/Amplify | 30 Sep 2021
    Can you check that issue: https://github.com/aws-amplify/amplify-cli/issues/6338
  • MLH, Open Source, Mapillary & Me
    7 projects | dev.to | 31 Aug 2021
    AWS Amplify - The AWS Amplify CLI is a toolchain which includes a robust feature set for simplifying mobile and web application development. The CLI uses AWS CloudFormation and nested stacks to allow you to add or modify configurations locally before you push them for execution in your account.

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

What are some alternatives?

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

awesome-readme - A curated list of awesome READMEs

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

aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code

passwordless-auth - Allows a user to login directly via email without a need for entering passwords using Cognito

aws-amplify-cdk - AWS Amplify GraphQL transformers deployed with AWS CDK

Rollup - Next-generation ES module bundler

amplify-cli-export-construct

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.

antlir - ANother Linux Image buildeR

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.

Terrabuzz - Social media based on connecting users on the basis of interests, integrating a system of news-feed, following/followers, notifications, profile updates, and a basic settings page

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