DEV Community


Discussion on: Best Frontend & Backend

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

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.