Using PlanetScale with Serverless Framework Node applications on AWS
Jun 13, 2023Matthieu Napoli

Summary
This post demonstrates how to integrate PlanetScale databases with Node.js applications built using the Serverless Framework on AWS. It details setting up a basic serverless application, connecting to PlanetScale using the serverless driver, managing database credentials securely via environment variables and AWS SSM, and leveraging Serverless Framework stages to map to different PlanetScale branches for development and production environments. It also shows how to deploy the application and interact with the database.