# lambda-songwhip-presaves-spotify

A lambda function for handling Spotify presaves.

## Overview

This Lambda consumes SQS messages and uses a Spotify client to add albums or tracks to a
user's library.


## Local development
To run this Lambda locally, you can use the `dev` script:
First, make sure to set up your environment variables in the `.env` file. You can use the `.env.shadow` file as a template.

Then, run the following command:

```bash
pnpm dev
```

This will start localstack and the Lambda function. Providing a UI for testing the Lambda function with SQS messages. You can send test messages to the SQS queue to see how the Lambda function processes them.
