pathephone-web
pathephone-web copied to clipboard
Implement production services
Services affected:
- getAlbumPreviewsByQuery
- getAlbumPreviewsFeed
- getTrackPreviewsByAlbumIds
- submitAlbumCandidate
What need to be done:
- [ ] implement a ServiceWorker / WebWorker that will encapsulate operations with IndexedDB and IPFS (SW not that easy in CRA https://karannagupta.com/using-custom-workbox-service-workers-with-create-react-app; WW ceurrently impossible AT ALL https://github.com/facebook/create-react-app/pull/5886)
- [ ] implement a communication layer between main process and ServiceWorker
- [ ] refactor service layer to use event-based architecture instead of a promise-based (?)