Bevy0.6
Serverless Pokemon APIwith Netlify Functions
Dive into async Rust for the first time by deploying your first Serverless Rust function on Netlify. Learn to communicate with third party services like PlanetScale's MySQL database and be introduced to new concepts like cross compilation and the tracing crate. This workshop provides a foundation for more advanced Serverless work on AWS Lambda.
Watch 1 hour, 2 minutes of guided lessons.

Extra Workshop Details
Lessons
Initialize a new PlanetScale MySQL database with pokemon data
Add a new crate to a cargo workspace without initializing git
Create your first Netlify serverless function with Rust
Deploy your first Rust Serverless Function on Netlify
Unit Testing a Rust Serverless Function
How to query PlanetScale from a serverless function
Connecting to PlanetScale from a Deployed Serverless Function
Using variables in a sqlx query
Allowing users to query for a specific pokemon using the URL
Generating requests to make it easier to write more tests
Returning a 400 status code from a Netlify Rust Function
Using rewrites to make pretty API urls
Reusing MySQL connection pools across warm function invocations
Observable functions and logging with Tokio tracing
Querying PlanetScale for booleans with sqlx
Querying PlanetScale for custom types using intra workspace dependencies