Skip to main content

MongoDB

The document database behind my Node web projects.

In useServiceWindowsmacOSLinux mongodb.com

MongoDB stores JSON documents rather than rows in tables: each record can have its own shape, which is fast when the data model evolves along with the project. It is the database of my web projects with a Node backend, such as Spotify Manager and K-Games.

I install the server, the mongosh shell and the backup tools (mongodump, mongorestore) with Scoop, to develop locally. To look at the data, I use Compass or VS Code's MongoDB extension.

For more recent projects I picked other databases depending on the need: PostgreSQL with Supabase when several devices must stay in sync, and SQLite for fully local apps such as PayLedger.