I need to store some data as part of my electron application. I know how to set up a REST API, and serve my application like so. However, is it also possible to use (e.g.) MongoDB locally, and implement something similar to a REST API locally? I would like to not assume an internet connection for this project.
I need to store some data as part of my electron application. I know how to set up a REST API, and serve my application like so. However, is it also possible to use (e.g.) MongoDB locally, and implement something similar to a REST API locally? I would like to not assume an internet connection for this project.
Share Improve this question asked Mar 30, 2017 at 11:37 George WelderGeorge Welder 4,05511 gold badges45 silver badges75 bronze badges2 Answers
Reset to default 4If you need to implement a mongoDB like database locally for the application without internet, you can use lowdb
Yes it is possible, you have nodejs in electron so you can use mongoose: https://github./Automattic/mongoose
But in this case every person who use your application have to install mongodb in his machine.