airyhq / airy

💬 Open Source App Framework to build streaming apps with real-time data - 💎 Build real-time data pipelines and make real-time data universally accessible - 🤖 Join historical and real-time data in the stream to create smarter ML and AI applications. - ⚡ Standardize complex data ingestion and stream data to apps with pre-built connectors
https://airy.co/docs/core
Apache License 2.0
370 stars 44 forks source link

Repo - Storing Media for Catalog Components #3654

Open M-Shorouk opened 2 years ago

M-Shorouk commented 2 years ago

Is your feature request related to a problem? Please describe.

We need to add more information to our catalog - card details view. To add video records and/or images to help Airy user learn more about each components, we need to discuss adding media references to each component and how we will manage storing media on DynamoDb.

Describe the solution you'd like

A clear and concise description of what you want to happen. {WIP} "DynamoDBMapper"??

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

AudreyKj commented 2 years ago

I think the easiest solution for this would be to upload the media to our AWS S3 bucket and then just add the S3 link to the DynamoDB, so that the media files will be added as a string property to DynamoDB. Then, in the frontend, we can just display the media using the S3 link.

For example: rasaGraph.png >> uploaded to S3 >> https://bucket-name.s3.region-code.amazonaws.com/rasaGraph.png

in dynamoDB:

rasa table
---- cardDetailsMedia: "https://bucket-name.s3.region-code.amazonaws.com/rasaGraph.png" (string property)
M-Shorouk commented 2 years ago

Changing the ticket name as we moved our component details from DynamoDB to Repo.