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
All the integrations provided in this package are meant to be used on the client. The following AWS Amplify dependencies are integrated:
DataStore is integrated with -0
's routing Tasks. Utilities
are herein provided to make calling DataStore APIs in a more
data-centric fashion
Storage to S3 is abstracted to simple Command-based APIs, so that they can be composed with other actions as a pipeline
Authentication is also integrated with -0
's router, so
that routes requiring special permissions dsFx are protected
For any Amplify project covered by the utitlies, you will
want to select the graphql
type of API and use the
advanced settings
options to enable automerge
conflict
detection strategy and add userpools
as an addition to the
default (api key
) authorization