K
K
KGZVER2021-01-08 17:33:21
Node.js
KGZVER, 2021-01-08 17:33:21

Is it possible to use a database on lowdb in a real project?

I am making a small website for one company, I need to fasten a database for it. There will be only 2 sections, this is a user, where there will be only an admin (needed for the admin panel) and blogs, where there will be all sorts of articles about the company.

So I think for this you don’t need to connect all sorts of MySql and Mongo, and you can get by with a local database on lowdb?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Israfil22, 2021-01-08
@KGZVER

You do not need to choose solutions that will be used "back to back" with your requests.
Deploying Mongo takes no more than 30 minutes if you know the basics of configuration.
Think a little ahead, that most likely some developer will have to do it for you, in case the load increases. And also about the speed, the effort expended and, most importantly, the price during the transition.
Simplicity of interaction will be provided to you without problems by ORM, the same mongoose.

I
index0h, 2021-01-08
@index0h

So I think for this you don’t need to connect all sorts of MySql and Mongo, and you can get by with a local database on lowdb?

As soon as you need to start two processes, a pichalka awaits you. Looked at the lowdb code a bit. To be honest, it’s hard for me to imagine where it’s justified to use this craft, I wouldn’t call it “DB”.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question