Skip to content

This is node application that uploads the image on cloudinary and returns the url

Notifications You must be signed in to change notification settings

abhinandanmishra1/imageUploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Uploader using Node.js, Express

  • Live Service
  • Used cloudinary api for uploading image and getting an url
  • stored the url on MongoDb Database
  • This repository is just for the learning purpose for storing the images link on database
  • I have used Node.js for javascript environment and express for writing post api
  • This repository contains POST api as of now because other apis can be created easily

What it does?

  • We can store any local image on cloudinary and then the link can be stored to mongoDb database
Screencast.from.06-04-23.08.52.57.PM.IST.webm

How is it implemented?

  • For frontend a html file which sends the file that are selected and calling upload api
  • In backend multer has been used for uploading the file
  • Using cloudinary api to get a url for the image
  • Storing that image on mongoDb databse

Future work?

  • I want to create a npm package for the same, where user can provide the mongoDb uri and cloudinary secrets
  • The image will be uploaded
  • Basically I will abstract the implementation of request

That's it

About

This is node application that uploads the image on cloudinary and returns the url

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published