-2
Has a server, the user can put a title, description, can optionally upload up to 3 image and 1 video. The title and the description I know could be stored in a Mongo type bank in JSON. My question is how to store this video and image in a database without having to use a third party like Vimeo or something like that.
you MUST save in the BD the path to access the images and video, and let the server stream the video by the web server or stream, and not by the BD because of resource consumption. DB consumes a lot of server resources to output a file, while an apache or Nginx server does this with virtually no resources, and BD saves the way for the borwser to request, it can even save the login data if it is a restricted directory....
– Romeu Gomes - Brasap