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.
We're a place where coders share, stay up-to-date and grow their careers.
Ok, but when would you need Mongobd instead of sqlite? I’m liking APIs now
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.