Amplify - Javascript Library

Card Puncher Data Processing


The javascript amplify library


yarn add aws-amplify 
# if react
yarn add aws-amplify-react 


In the app (preferably at the root level), configure Amplify.


import Amplify from 'aws-amplify';
import aws_exports from './aws-exports';



  • aws-exports is a configuration file created using the cli. See aws-exports

With some AWS category

AWS Amplify supports many category scenarios such as:

You don't want to install all the categories. in this way you are only importing Auth and configuring it.

import Amplify from '@aws-amplify/core';
import Auth from '@aws-amplify/auth';
import aws_exports from './aws-exports';

Without Aws

  API: {
    graphql_endpoint: ''

Documentation / Reference

Discover More
Card Puncher Data Processing
Aws - analytics (pinpoint?)

in Aws By default, AWS Amplify can collect user session tracking data with a few lines of code: See ...
Card Puncher Data Processing
Cognito - Amplify Auth Component

Auth is a sub-component (called a category) of the amplify library and is a wrapper around amazon-cognito-identity-js All methods are available in the Auth...

Share this page:
Follow us:
Task Runner