Testing the integration

We have everything in place. Now, we need to start both the website and the services so we can verify if everything is working properly.

One thing to keep in mind is that for testing, we will need to run the Django application in different ports. We can run the website (game online store) using the default port 800, and for the order services, we can use port 8001.

Open two terminals; in one terminal, we are going to start the online video game store:

python manage.py runserver

And, on the second terminal, we are going to start the order service:

python manage.py runserver 127.0.0.1:8001

Great! Open the browser and head to http://localhost:8000 and log in with our credentials. After logging in, you will notice that ...

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.