Like all the previous chapters, we are going to start off this chapter by setting up the environment that we need to develop our services on. Let's start by creating our working directory:
mkdir microservices && cd microservices
Then, we create our virtual environment with pipenv:
pipenv --python ~/Install/Python3.6/bin/python3.6
If you don't know how to use pipenv, in the section Setting up the environment in Chapter 4, Exchange Rates and the Currency Conversion Tool, there is a very good introduction about how to get started with pipenv.
With the virtual environment created, we need to install the project dependencies. For this project, we are going to install Django and the Django REST Framework:
pipenv install django djangorestframework requests python-dateutil
The reason that we are using Django and the Django REST...