53GB

Programming MongoDB Database in Electron JS (How to use Mongo in Electron)



Programming MongoDB Database in Electron JS (How to use Mongo in Electron)

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
https://github.com/cyrilgupta/electron-mongodb

MongoDB Community Server Download
https://www.mongodb.com/try/download/community

MongoDB Documentation for Node.js / Electron
https://www.mongodb.com/docs/drivers/node/current/quick-start

MongoDB Official NodeJS Driver
https://www.npmjs.com/package/mongodb

Don’t forget to like and subscribe!

Exit mobile version