acmutd / acmutd/meteormate-client

feat: Upload pictures directly from frontend

Aperta
#156 0 commenti 0 reazioni 1 assegnatario Rivendicata da @JuuyouSan Vedi su GitHub
Type: Feature Request
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
1g 3h
PR unite (30g)
2

Descrizione

# Why
Right now, we are sending the base64 string of an image directly to the backend for uploading after compressing, which makes it hard to get past the rate limits and makes the API requests large for multiple files

# Change
Make the frontend directly upload images to Firebase Storage since the frontend already does compression and conversion to WebP. Send the CDN link/links to the backend.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.