Our great sponsors
-
astro-payload-plugin
Payload CMS and Astro. Run both apps on the same server using the Payload local API. Works in Astro dev mode.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
payload
The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
Yep! There are probably issues with this setup, but I wrote a small plugin to allow them to work in the same repo, sharing the same express instance: https://github.com/coxmi/astro-payload-plugin
Because of various ES module/CJS issues I had to bundle payload with esbuild and change the extension to cjs. The config wasn't being properly found/parsed by their webpack/ts-node setup, and this was the easiest fix.
My example repo can be found here:
https://github.com/coxmi/astro-payload-example
Which was sort-of based on Payload's own custom server example here: