A basic personal project to try MongoDB.
It uses the Stack Exchange API as a data source.
The web app allows me to store a curated set of questions locally, pulled from various Stack Exchange sites using their public API. Volumes are small and read-only, so there is no need to register or authenticate my application. I just use their anonymous usage, with its (300 calls per day per site).
For the MongoDB, I use the community download version 6.0.6, which includes Compass:
https://www.mongodb.com/try/download/community
My MongoDB collections (questions
and test_questions
) use one additional compound index on question_id
and site
. I use the mongosh
command line utility to automate creation of the index.
Downloadable from here (I use v 1.10.1):
https://www.mongodb.com/try/download/shell
I also use the separate command line tools for collection import/export utilities:
https://www.mongodb.com/try/download/database-tools
Specificially, this is version 100.7.3.