Selecting our requirements

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 

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.