Programming MongoDB Database in Electron JS (How to use Mongo in Electron)
Вставка
- Опубліковано 11 лют 2025
- In this video I am going to show you how to connect your Electron code to a MongoDB database.
The important thing is, I am not going to show you the simple connection code, but the proper way to design a Model class that handles the DB. We will also create a mini application that will do the basic CRUD (Create, Update, Delete) function in the db.
Here's the repository for the project
github.com/cyr...
MongoDB Community Server Download
www.mongodb.co...
MongoDB Documentation for Node.js / Electron
www.mongodb.co...
MongoDB Official NodeJS Driver
www.npmjs.com/...
Don't forget to like and subscribe!
Thank you for one more great video👍
you are welcome
Please do this again with electron+react. I can't set it up.
Very very cool!
Thank you! Cheers!
what about bundling? Should user install mongodb database separately?
That's my question, you know to anwser now?
What about bundling?
Unable to load preload script thats what i am getting from you github project
Your codebase in github is not working
Hey Sir Can we use Express or mongoose for connection ?
Yes you can use Mongoose, but rethink using Express. It's technically possible, but if you want to use a framework then I recommend Koa. It's got better async structure.
💌
How to solve error:- Unable to load preload script: D:\DesktopApp\ElectronApp\screens\main\mainPreload.js
Looks like you've got a broken path
@@coderjeet what do you really want to convey can you please elaborate
@@coderjeethey jeet please reply to me
Bhai tera solve hua kya