Send photo Api Rest nodejs

Asked

Viewed 197 times

2

I am developing a restful api with nodejs and mongodb. And I am creating an endpoint for user registration, but I would like to send a photo at the time of registration.

Which of the three solutions would be the best?

  • An Amazon S3*, send a Base64 saved in S3* return to url;
  • I convert the received and saved Base64 to my own server;
  • Send Base64 straight from the device to S3* and send only the url to my api.

S3 = Amazon Simple Storage Service

  • 1

    Personal opinion: although this question seems to fall into the opinion-based category, I think there are technical issues that make it valid and therefore nay based on opinions, but on performance and scalability. It may however be too broad, since the response should address different configurations/services, +1

  • Hello Sergio, thank you very much. Actually I would like the two things, performance and scalability, I’m thinking of doing something like instagram(summarizing).

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.