You are browsing as a guest. Sign up (or log in) to start making projects!

11h 40m 21s logged

added some profile changes - now you can set your last name to show first, and upload a profile picture. these changes also show in other apps too! (0:22)

uploads were a little annoying to implement - you can’t send files over json so you have to use formdata, but you can’t encode booleans/integers in formdata so you have to use json :neocat_pensive: I worked around this by set up a separate upload endpoint which stores images and sends back an id for use elsewhere.

this makes uploading images elsewhere in the app much easier though! plus, I can set up a schedule to find and remove orphaned images (like if a user changes their profile picture, the old picture can be removed later)

I also spent some time cleaning up the backend, which took some time, but is less exciting than changing your profile picture to a cat :3

0
8

Comments 0

No comments yet. Be the first!