Export database from SQLite to MongoDB
If you can use NPM and node, there's an open-source tool called sqlitemongo that handles this use-case for you in a CLI interface.
Run the following terminal commands
sudo npm install --global sqlitemongo
sqlitemongo <sqlitepath> <mongo uri> [<mongo database>]