Closed AidanBrasseur closed 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/
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
Backend: dealing with story files. Frontend: mocking backend and making search/scroll for stories.