To prepare the environment, you need to install the dependencies and run the following commands:
$ npm i
$ pipenv install
Serverless is used to create the AWS Lambda function, AWS Apigateway and DynamoDB table.
$ sls deploy
If you get this error: ModuleNotFoundError: No module named 'distutils.cmd', try to fix installing:
sudo apt-get install python3.8-distutils