lukeshafer / indigestion-cards

https://indigestioncards.com
6 stars 0 forks source link

Refactor API POSTs and trpc mutations to use Astro actions #236

Open lukeshafer opened 3 weeks ago

lukeshafer commented 3 weeks ago

https://docs.astro.build/en/guides/actions/

Astro recently added this API to create type-safe actions that are also SSR/no-js friendly. Look into our current API and see where this can replace existing endpoints

Stuff to replace

Questions:

Strategies:

Organize actions in the src/actions directory in files based on the domain. E.G.

Concerns: