ThorstenHans / blog-comments

0 stars 0 forks source link

crud-in-webassembly-with-fermyon-spin-and-mysql/ #5

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

CRUD in WebAssembly with Fermyon Spin and MySQL · Thorsten Hans' blog

This post demonstrates how to persist data in MySQL when building cloud-native applications with Fermyon Spin. Leveraging the Spin SDK for Rust.

https://www.thorsten-hans.com/crud-in-webassembly-with-fermyon-spin-and-mysql/

MDPaun commented 1 year ago

“Thanks for this article, it’s very helpful. Also, I have a question. When I try to access my API, I get a CORS rejection and I don’t know how to handle it in a SPIN app.”

ThorstenHans commented 1 year ago

Hey @MDPaun I've a repository on GitHub which demonstrates how one could deal with CORS in Spin. https://github.com/ThorstenHans/spin-contrib-http

I hope this helps. If not, reach out.