Unrated-Limited-Unlimited / ua-backend

4 stars 0 forks source link

Image uploading #9

Closed Veggissss closed 5 months ago

Veggissss commented 7 months ago

As a user I want to be able to upload my profile picture for everyone to see.

Criteria:

591337 commented 6 months ago

Backend should have an endpoint where the client upload an image file. The backend authorizes, uploads to file store and update db

Neelzee commented 6 months ago

Frontend also needs to create some functionality for the user to do this without using cURL, could be a good first-issue. @MikalDr

The ua-fiso-microservice is working, just needs to be added to the server.

Neelzee commented 6 months ago

ua-fiso is up and running, can be tested with this cmd:

To get the version

curl http://localhost:8001/api/meta/version

To download a test image:

curl -o filename.jpg http://localhost:8001/api/img/nils

And to view in the terminal:

viu filename.jpg

This is still on the server, so you need to ssh into the server to test this.