Next, we will create the layers to integrate the contact assistant capability into applications. As mentioned at the beginning of this chapter, we will not implement any application; we will only implement the service and RESTful endpoint layers.
As with previous hands-on projects, we will be using Python, Pipenv, Chalice, and boto3 as part of the technology stack. Let's create a project structure first.
- In the terminal, we will create the root project directory and enter it with the following commands:
$ mkdir ContactAssistant
$ cd ContactAssistant
- We will create a Python 3 virtual environment with Pipenv in the project's root directory. Our Python portion of the project requires two packages, boto3 and chalice. We can install them with the following commands:
$ pipenv --three
$ pipenv install boto3
$ pipenv install...