DEV Community

Discussion on: Best Frontend & Backend

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.