Extending TempMessenger with a User Authentication Microservice

In the last chapter, we created a web-based messenger, TempMessenger, which consists of two microservices—one that is responsible for storing and retrieving messages and another that is responsible for serving web requests.

In this chapter, we will look to extend our existing TempMessenger platform with a User Authentication microservice. This will consist of a Nameko service with a PostgreSQL database dependency that has the ability to create new users and authenticate existing users.

We will also replace our Nameko Web Server microservice with a more suitable Flask app that will allow us to keep track of web sessions for our users.

It is necessary to have read the last chapter ...

Get Python Programming Blueprints 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.