Skip to content

Instantly share code, notes, and snippets.

Avatar

Zia ul ain ziaulain

  • pakistan
View GitHub Profile
View storeImgInMongoWithMongoose.js
/**
* Module dependencies
*/
var express = require('express');
var fs = require('fs');
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// img path