Draft Examples
July 4, 2020 ยท View on GitHub
Collection of draft architecture descriptor YAML files as examples.
Sample 1 - Message Bus Pattern
The draft architecture descriptor YAML file is here ๐ message-bus-pattern.yml
Running draft with this command:
draft -impl message-bus-pattern.yml | dot -Tpng > message-bus-pattern.png

Sample 2 - Getting the pre-signed URL to Upload a file to Amazon S3
The draft architecture descriptor YAML file is here ๐ s3-upload-presigned-url.yml
Running draft with this command:
draft -impl s3-upload-presigned-url.yml | dot -Tpng > s3-upload-presigned-url.png

Sample 3 - Amazon Cognito Custom Authentication Flow with external Database
The draft architecture descriptor YAML file is here ๐ cognito-custom-auth-flow.yml
Running draft with this command:
draft -impl cognito-custom-auth-flow.yml | dot -Tpng > cognito-custom-auth-flow.png

Example 4 - A Google Cloud Architecture
The draft architecture descriptor YAML file is here ๐ token-manager-google.yml
Running draft with this command:
draft -impl token-manager-google.yml | dot -Tpng > token-manager-google.png

Example 5 - Auth0 Custom Database Connection with Client Credentials
The draft architecture descriptor YAML file is here ๐ auth0-custom-db-connection-with-jwt.yml
Running draft with this command:
draft -impl auth0-custom-db-connection-with-jwt.yml | dot -Tpng > auth0-custom-db-connection-with-jwt.png

Others examples
Check out this folder for more draft architecture descriptor YAML examples.