Summary

This chapter gave us a pretty detailed overview of the Flask framework, and how it can be used to build microservices.

The main takeaways are as follows:

  • Flask wraps a simple request-response mechanism around the WSGI protocol, which lets you write your applications in almost vanilla Python.
  • Flask is easy to extend, and it works with Python 3.
  • Flask comes with nice built-in features: blueprints, globals, signals, a template engine, error handlers, and a debugger.
  • The microservice project is a Flask skeleton, which will be used to write microservices throughout this book. It's a simple app that uses an INI file for its configuration, and makes sure everything produced by the app is JSON.

The next chapter will focus on development methodology: how to continuously code, test, and, document your microservices.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset