CephalonScientia / wiki-reader

📖 MediaWiki wiki reader
1 stars 0 forks source link

Hook up MongoDB connection #7

Open CephalonScientia opened 2 years ago

CephalonScientia commented 2 years ago

Eventually, we would not solely depend on MediaWiki's Action API to fetch article content from wikis. There are three main reasons for doing so:

To achieve this, a database connection needs to be established to store cached versions of article content to be sent to the client. MongoDB is the preferred NoSQL database system to store document data like API calls that return a JSON response. For security reasons, the database connection string and other secrets should be stored in an environment file that will be ignored by Git.

CephalonScientia commented 2 years ago

To be done alongside issue #10