Create API for Importing Excel or CSV File Data in MongoDB using Node JS - Import CSV Mongo Node JS

  Рет қаралды 22,323

Programming Experience

Programming Experience

Күн бұрын

Пікірлер: 99
@rajupatel-js1qd
@rajupatel-js1qd 17 күн бұрын
Thik hay👍🤣 nice work brother,
@ProgrammingExperience
@ProgrammingExperience 17 күн бұрын
Thik hein brother 😄 👍
@monirhrabby
@monirhrabby Жыл бұрын
Thanks for sharing this video. very helpfull
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Your welcome brother 👍
@Deepaksingh-yf9ik
@Deepaksingh-yf9ik 6 ай бұрын
Thanks it helped me in my live project
@ProgrammingExperience
@ProgrammingExperience 6 ай бұрын
Your welcome brother 👍
@goku2685
@goku2685 Жыл бұрын
V impressive ❤
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Thanks brother 👍🤗
@ajaykharat9267
@ajaykharat9267 Жыл бұрын
Thanks For The Video !!
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Your welcome brother 👍
@yogu99
@yogu99 Жыл бұрын
Badiya
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Hmm 👍
@rakeshmohantarai1462
@rakeshmohantarai1462 Жыл бұрын
Thanks for the video
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Your welcome brother 👍
@haneenthi
@haneenthi Жыл бұрын
आपका बहुत-बहुत धन्यवाद
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Apka bahut bahut sukriya 👍
@awaphics
@awaphics 2 жыл бұрын
Bro I was Wait fro you to Connet the Previous Issue
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Ohh okay okay, sorry, can we connect on this weekend?
@sufyan_rasheed
@sufyan_rasheed 8 ай бұрын
Nice video 👍 Sir React frontend ka bhi video banaye I need to upload CSV file from frontend with proper validation
@ProgrammingExperience
@ProgrammingExperience 8 ай бұрын
Okay brother 👍
@juangarciaveas8888
@juangarciaveas8888 Жыл бұрын
nice video!
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Thanks dear 👍
@surajprogrammer4600
@surajprogrammer4600 Жыл бұрын
Love you sir 💖💕
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Love you too dear ❣️
@RakeshAhire-ze4jy
@RakeshAhire-ze4jy 9 ай бұрын
If I have a multiple models , and I want to use csv file upload in all models? then how can I get the latest uploaded file and how can I know which file is for each particular model
@ProgrammingExperience
@ProgrammingExperience 9 ай бұрын
In all model's, that will take more loading time, then you need to use bulk operation to insert the data in to all models.
@MemeAndShortsReview
@MemeAndShortsReview Жыл бұрын
what if one of the data in csv is wrong? I want wrong data error to be stored and data after that to work as it should create users in db... how to handle that error?
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
You need to add validation in import time.
@MHPavel-p3c
@MHPavel-p3c 8 ай бұрын
Thanks man
@ProgrammingExperience
@ProgrammingExperience 8 ай бұрын
Your welcome brother 👍
@kelangirajkiran6133
@kelangirajkiran6133 Жыл бұрын
Thank you very much
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Your welcome dear 👍
@bhartendusingh3061
@bhartendusingh3061 2 жыл бұрын
Sir agar me mongoose compass use karta hu agar mujhe system change karna pade to me us pehle bale system bale compass ko apne new system me kaise open karu
@ProgrammingExperience
@ProgrammingExperience 2 жыл бұрын
Download kar lo new bale mein or old bale se export karo and new mein import kar lo data ko.
@bhartendusingh3061
@bhartendusingh3061 2 жыл бұрын
@@ProgrammingExperience ok thank u sir
@production4th
@production4th Жыл бұрын
how to do in button click please also share frontend part
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Okay i will share soon, don't worry.
@vishnuvijayan1372
@vishnuvijayan1372 6 ай бұрын
How to this project share in client
@ProgrammingExperience
@ProgrammingExperience 6 ай бұрын
Client side?
@umarjamil9941
@umarjamil9941 9 ай бұрын
But how to use it for xlsx file? It is working only for csv files
@ProgrammingExperience
@ProgrammingExperience 9 ай бұрын
I think i am using csv-parser package in this lecture, you can use xlsx package for both files csv and xls.
@in-san9
@in-san9 6 ай бұрын
i'm getting "cannot post/upload" request. How to resolve this error?
@ProgrammingExperience
@ProgrammingExperience 6 ай бұрын
Pls check request method or url.
@jaydeepmane7845
@jaydeepmane7845 Жыл бұрын
Can someone help me to perform this operation through UI
@53_siddhimhatre84
@53_siddhimhatre84 Жыл бұрын
It shows user.insertMany as error. Says it is undefined
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Because, insertMany method will be work with model, i think your user is not a model please confirm this one.
@105mohd.haarisamin3
@105mohd.haarisamin3 Жыл бұрын
sir ab api ko front-end se connect kese karu? mtlb ek front-end form jo csv file accept kre aur submit pe click hone pe mongodb pe store krde?
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Bhai yaar itna to simple hein, ek input type file create karo csv select karo or formData mein append karke bhej do backend ko, ho jayega apka kaam
@AsadAli-be4hc
@AsadAli-be4hc Жыл бұрын
@@ProgrammingExperience bhai yeh apko lag raha h simple h lakin real time project ma or b kafi issue hoty h tw kindly
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
@@AsadAli-be4hc 😀 bhai kuch mushkil nahi hota hein, us problem se ladna sikho sab easy lagega, log lagao or 100 baar check karo kahan issue ho raha hein. Log god ne bahut badiya chij banai heim agar yeh na hota to mere liye bhej kadi mushkil hota.
@tamannakhoushi3446
@tamannakhoushi3446 11 ай бұрын
while saving the data of the file to mongodb , an error is coming : user.insertMany is not a fucntion , kindly tell how to resolev the error
@ProgrammingExperience
@ProgrammingExperience 11 ай бұрын
Have you checked user is variable of model?
@tamannakhoushi3446
@tamannakhoushi3446 11 ай бұрын
yes its done the code worked thanks@@ProgrammingExperience
@ProgrammingExperience
@ProgrammingExperience 11 ай бұрын
@tamannakhoushi3446 your welcome 👍
@tamannakhoushi3446
@tamannakhoushi3446 11 ай бұрын
the file is not getting upload instead error is displaying how can i configure this?
@ProgrammingExperience
@ProgrammingExperience 11 ай бұрын
Please use console on backend.
@tamannakhoushi3446
@tamannakhoushi3446 11 ай бұрын
please explain how to do it@@ProgrammingExperience
@ProgrammingExperience
@ProgrammingExperience 11 ай бұрын
pls follow below steps:- 1:- Pls check have you using multipart/form-data in your request, because it's a must. 2:- Pls add the console.log(obj)//file obj in multer. 3:- if you got your file obj in multer, then pls add console.log(req.file) in your controller method. If you still see an error then, pls mail me.
@tamannakhoushi3446
@tamannakhoushi3446 11 ай бұрын
thankyou the file has been uploaded@@ProgrammingExperience
@ProgrammingExperience
@ProgrammingExperience 11 ай бұрын
Okay 👍
@rohittechstrock
@rohittechstrock Жыл бұрын
with image upload bhi bta do sir..
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Image ka bhai url hoga csv file mein kaise rakhoge. Url direct dal do itna tension kyun le rahe ho.
@shrikrushnapatil2341
@shrikrushnapatil2341 2 жыл бұрын
How to upload Excel file to database in laravel
@ProgrammingExperience
@ProgrammingExperience 2 жыл бұрын
Already this lecture available on my channel.
@bhartendusingh3061
@bhartendusingh3061 2 жыл бұрын
Thank u sir
@ProgrammingExperience
@ProgrammingExperience 2 жыл бұрын
Welcome dear 👍
@smeetcoder9021
@smeetcoder9021 Жыл бұрын
I have a system where we can fill a form and data gets added to the Mongodb atlas . Now I need a feature of CSV upload also that you did it's Great but I need to merge the CSV and the existing data so can we do it by further putting logic in your code?
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
Yes you can do.
@smeetcoder9021
@smeetcoder9021 Жыл бұрын
@@ProgrammingExperience any reference would help me ?
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
You can use google.
@Comman.c
@Comman.c 2 жыл бұрын
Create Online examination system in nodejs
@ProgrammingExperience
@ProgrammingExperience 2 жыл бұрын
In mern or simple node js?
@Comman.c
@Comman.c 2 жыл бұрын
Simple
@Comman.c
@Comman.c 2 жыл бұрын
Thanks for reply
@ProgrammingExperience
@ProgrammingExperience 2 жыл бұрын
@@Comman.c but brother i want create this project in mern and it's very useful for all developers, i will create APIs in node js then i will connect API to React.
@Comman.c
@Comman.c 2 жыл бұрын
Okk
@sougatasingha9587
@sougatasingha9587 9 ай бұрын
does not properly work with excel files please update your video title, when ever we try to log the excel file value it gives us some random characters and encoded value
@ProgrammingExperience
@ProgrammingExperience 9 ай бұрын
Hmm yeh issue apko date ke liye aa raha hoga na ya kisi or type ki values ke liye bhi aa raha hein.
@sandeepmishra1390
@sandeepmishra1390 2 жыл бұрын
Brother make a rest api on mysql
@ProgrammingExperience
@ProgrammingExperience 2 жыл бұрын
Hmm okay 👍
@peddintibhargavi2906
@peddintibhargavi2906 2 ай бұрын
i need code for this
@ProgrammingExperience
@ProgrammingExperience 2 ай бұрын
I think code is available on Website.
@AsadAli-be4hc
@AsadAli-be4hc Жыл бұрын
bhai iska frontend b bana dy yrr isko hit kaha sy krna upload kdr sy krna ? half kaam kr k chor diya yrr
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
😀 hmm okay bana dunga
@AsadAli-be4hc
@AsadAli-be4hc Жыл бұрын
Bhai yrr abi google meet py a sakta 2 mnt k liya aik problem solve krde please
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
@@AsadAli-be4hc bhai abhi to mein company mein kaam kar raha hu, aap mere ko mail kar do apni problem, hum Saturday ko connect ho sakte hein.
@AsadAli-be4hc
@AsadAli-be4hc Жыл бұрын
@@ProgrammingExperience Saturday bht late ho jaye ga yrr agr possible h tw tonight connect ho skta?
@AsadAli-be4hc
@AsadAli-be4hc Жыл бұрын
@@ProgrammingExperience bhai apni mail share krde
@tarunsharma-xw4pv
@tarunsharma-xw4pv Жыл бұрын
I have problem in uploading file can anyone help me
@tarunsharma-xw4pv
@tarunsharma-xw4pv Жыл бұрын
file is not upload and save in upload folder and code is not giving any error too
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
@@tarunsharma-xw4pv have you integrate this api in your frontend side?
@tarunsharma-xw4pv
@tarunsharma-xw4pv Жыл бұрын
@@ProgrammingExperience no i am using postman as you do it in your video
@ProgrammingExperience
@ProgrammingExperience Жыл бұрын
@@tarunsharma-xw4pv have you using the form data in postman or not
@tarunsharma-xw4pv
@tarunsharma-xw4pv Жыл бұрын
@@ProgrammingExperience yes I used it please help me via Google meet
How to use read and write streams in node.js for BIG CSV files
11:00
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Multer - multipart/form-data | MongoDB | Part 20 - Backend Development
21:20
Sheryians Coding School
Рет қаралды 28 М.
Uploading Files with NodeJS and Multer
14:11
Piyush Garg
Рет қаралды 140 М.
Create a Custom URL Shortener using Node.JS and MongoDB
23:10
Piyush Garg
Рет қаралды 137 М.
Новый год 2025 на ТНТ "ComedyVision!" @ComedyClubRussia
1:16:27
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН