This repository contains the code for this blogpost on StackAbuse.
Kindly ensure you have the following installed on your machine:
- Python 3
- VirtualEnv
- AWS CLI
- AWS Account and credentials:
secret key
andaccess ID
- An IDE or Editor of your choice
- Clone the repository
$ git clone https://github.com/ro6ley/aws-chalice-demo.git
- Check into the cloned repository
$ cd aws-chalice-demo
- Set up the virtualenvironment:
$ virtualenv --python=python3 venv
- Install the requirements
$ pip install -r demoapp/requirements.txt
- Deploy the application on AWS Lambda:
$ chalice deploy
- Interact with the API on the URL returned by the command above.
Please feel free to raise issues using this template and I'll get back to you.
You can also fork the repository, make changes and submit a Pull Request using this template.