Python Microservices, Part 2: Build and Test REST endpoints with Tornado
Satish Chandra Gupta
Posted on April 22, 2020
Learn to implement Tornado HTTP endpoints as a layer on business logic. Tune it to assist debugging, and write unit and integration tests.
This blog post covers some of the best practices we learned while building microservices powering Slang Lab's platform; how to:
- Design REST endpoints as a separate layer over business logic,
- Implement Tornado HTTP server and service endpoint handlers,
- Use Tornado hooks to control behavior and assist debugging, and
- Write unit and integration tests using Tornado testing infra.
(Based on a PyCon India 2019 tutorial.)
💖 💪 🙅 🚩
Satish Chandra Gupta
Posted on April 22, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.