DEV Community

loading...

Discussion on: Best Frontend & Backend

yobretyo profile image
Bret Author

Thank you, i haven’t used express yet, would a CMS be close to it?

Thread Thread
tqbit profile image
tq-bit • Edited

Not quite, a cms is a whole piece of software while express is like a toolkit. You could however use express and e.g. mongoose (a mongodb driver) to build your own one.

Thread Thread
yobretyo profile image
Bret Author

Ok, but when would you need Mongobd instead of sqlite? I’m liking APIs now

Thread Thread
tqbit profile image
tq-bit

You could possibly substitute them with one another, depending on what you prefer or require for your project.
In a nutshell, Sqlite stores data in predefined tables, whereas mongodb goes with collections ( json-like structure ). The second option is comparably messy as you create your structure on the go, but it's easier to scale and you won't need to write SQL queries to do data operations.