Storytellers-App / team-project-19-storytellers-of-canada

A social media mobile application developed for Storytellers of Canada
MIT License
0 stars 1 forks source link

As a user I want to be able to access stories from the Storytellers of Canada StorySave collection #10

Closed AidanBrasseur closed 3 years ago

AidanBrasseur commented 3 years ago
  1. The collection of stories are able to be navigated through
  2. The collection of stored stories are able to be searched for by category
  3. Once a story is clicked, a more detailed view of the story is shown and the option to play story is available

Backend: dealing with story files. Frontend: mocking backend and making search/scroll for stories.

tsmswifty commented 3 years ago

Since Spaces (probably) supports range headers, we don't have to download the entire file at once and stream it. Instead, we can use something that supports audio stream + range headers.

I also have to make sure that when we are uploading/deleting we maintain a SQL table wrt the songs and their metadata.

Enable (free) CDN for fast speeds https://www.digitalocean.com/docs/spaces/how-to/enable-cdn/ React Native audio player https://github.com/react-native-kit/react-native-track-player Rate limiting https://www.digitalocean.com/docs/spaces/resources/performance-tips/ Backend SDK using AWS S3 compatible boto3 https://www.digitalocean.com/docs/spaces/resources/s3-sdk-examples/

tsmswifty commented 3 years ago

Resources for mocking S3: https://github.com/jubos/fake-s3 License key for fakes3: 6990201517 https://github.com/adobe/S3Mock (specifically for unit tests) https://github.com/spulec/moto

tsmswifty commented 3 years ago

Public files https://stackoverflow.com/questions/47661177/using-boto3-how-to-put-a-publicly-readable-object-into-s3-or-digitalocean-spac