I am new to Node.js and mongoDB.
I want to create an Android Application which has node.js server and DB as Mongo.
Little Background around Android App: I want to develop somewhat like instagram app. My app contains of uploading a image file from android and sends the upload request to node.js server and to store on CDN and mongoDB and fetch that image from DB and display it in android app.
My question is:-
- How do i acheive this, so do i save first on CDN (How to do that? any insights...i googled but i dint didnt find any example in node.js) and then save the CDN url in mongoDB.
- Is this a good approach. Any better alternatives of storing an image on cloud and save that image url in mongodb?
Thanks in advance