[nodejs] Send Multer error to React.js

2019-04-03 Thread foysal foysal
I am trying to Upload file using multer, I would like to send error to React. My code is like below const fileFilter = (req, file, cb) => { if (file.mimetype === 'image/jpeg' || file.mimetype === 'image/png') { cb(null, true); } else { cb(new Error('Tr

[nodejs] Node.js project

2019-11-12 Thread foysal foysal
Hello all, I am looking for Node.js project. I developed this App. This is my GitHub Repo. Thanks Foysal -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-po

[nodejs] MERN App

2019-11-19 Thread foysal foysal
Hello All, I learned MERN App Development using Google and Youtube. I developed this (https://foysal-mern-app.herokuapp.com) APP. Here is my Github code (https://github.com/afoysal/mern). Please advise me how can I improve more. Moreover I would like to work with any Senior Developer to learn more