MongoDB connection

Hi,

I would like to connect a MongoDB database to one of my apps. Does anyone have experience with this?
How could I make it work?

KR.
Jan

Hi Jan,

Welcome to the VIKTOR forum!

It is possible to interact with a MongoDB Database from a VIKTOR application. There are multiple python packages which can be used for this like PyMongo.

For the VIKTOR platform to be able to reach the MongoDB, the database should be accessible from the internet. This might not be the best idea from a security standpoint. You probably want to β€˜hide’ the database behind a API. API’s can be used from a VIKTOR application using the requests package.

Hope this helps you, if you have more questions, feel free to ask them,.