We will begin by defining the microservice dependencies. In the requirements.txt file, set Nameko as a framework, SQLAlchemy as an ORM, MongoEngine for MongoDB access, Postgres driver, and PyTest for testing. See the following file content:
nameko nameko-sqlalchemy mongoengine sqlalchemy psycopg2 pytest