0.3.2 • Published 4 years ago

ngx-amplify v0.3.2

Weekly downloads
10
License
ISC
Repository
github
Last release
4 years ago

ngx-amplify

An angular library for integration AWS cloud services (cognito, s3)

npm version ISC license

Table Of Contents

Installation

npm install --save ngx-amplify amazon-cognito-identity-js amazon-cognito-identity-js-typescript

Getting Started

The simplest way to use ngx-amplify is to use NgxAmplifyModule.forRoot

import { NgxAmplifyModule } from 'ngx-amplify';

@Module({
  imports: [
    NgxAmplifyModule.forRoot({
      region:'us-east-x',
      userPoolId: 'us-east-1_kT3FBpRxA',
      appId: '1r9vg3ob81jamk62mjepejd3db',
      idpUrl: `cognito-idp.us-east-x.amazonaws.com`,
      identityPoolId: 'us-east-1:08f3112b-cc65-49e4-8063-81f16cccd1ax',
      storage: {
          bucketName: 'awsbucket',
          bucketRegion: 'us-east-x',
          defaultLevel: 'public',
          folderLevel: 'public'
      }
    }),
  ],
})
export class AppModule {}

add the following code to the polyfill.ts file

 * APPLICATION IMPORTS
 */
(window as any).global = window;
(window as any).process = {
  env: { DEBUG: undefined },
};

Contributing

I would greatly appreciate any contributions to make this project better. Please make sure to follow the below guidelines before getting your hands dirty.

  1. Fork the repository
  2. Create your branch (git checkout -b my-branch)
  3. Commit any changes to your branch
  4. Push your changes to your remote branch
  5. Open a pull request

License

Distributed under the ISC License. See LICENSE for more information.

Acknowledgements

Copyright © 2019 Ntegral Inc.

0.3.2

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.3.1

4 years ago

0.2.7

4 years ago

0.2.1

4 years ago

0.2.6

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago