@-0/amplify

typescript configuration and starter project

Usage no npm install needed!

<script type="module">
  import 0Amplify from 'https://cdn.skypack.dev/@-0/amplify';
</script>

README

Amplify Utilities for -0 Integration

There are certain modules within @aws-amplify that are helpful to integrate into -0 libraries for use on the client:

  • @aws-amplify/datastore: Provides a client-first DX using IndexedDB
  • @aws-amplify/auth: Provides authentication/authorization for AWS Appsync APIs
  • @aws-amplify/storage: Provides object storage (S3) for client-side apps

Integrations

DataStore

DataStore is integrated with -0's routing Tasks. Utilities are herein provided to make calling DataStore APIs in a more data-centric fashion

Storage

Storage to S3 is abstracted to simple Command-based APIs, so that they can be composed with other actions as a pipeline

Auth

Authentication is also integrated with -0's router, so that routes requiring special permissions dsFx are protected