Create a REST API lending library

by time news

2023-06-30 03:14:59

The following code example shows how to create a lending library where users can borrow and return books using a REST API backed by an Amazon Aurora database.

Python SDK for Python (Boto3)

Shows how to use the AWS SDK for Python (Boto3) with the Amazon Relational Database Service (Amazon RDS) API and AWS Chalice to create a REST API backed by an Amazon Aurora database. The web service is fully serverless and represents a simple lending library where users can borrow and return books. Learn how:

Create and manage a serverless Aurora DB cluster.

Use AWS Secrets Manager to manage database credentials.

Implement a data warehouse layer that uses Amazon RDS to move data in and out of the database.

Use AWS Chalice to implement a serverless REST API on Amazon API Gateway and AWS Lambda.

Use the Requests package to send requests to the web service.

For the full source code and instructions for setting up and running, see the full example at GitHub.

Services used in this example

API Gateway

Aurora

Lambda

Secrets Manager

For a complete list of AWS SDK Developer Guides and code samples, see Using this service with an AWS SDK. This topic also includes information about getting started with the SDK and details about its previous versions.

#Create #REST #API #lending #library

You may also like

Leave a Comment