Great to see 2.0 launching, there’s some really great stuff in here!
Very exciting to see open source alternatives to the other headless content management systems that put developer experience as highly as editor experience, like Sanity, DatoCMS, or Contentful.
We’ll be switching to Payload very soon for all of our new internal and client projects after we’ve had a chance to play around with this release.
Honestly you nailed the reason why Payload exists. Both the editor AND developer experience are important and when you have both, you end up with a better project.
If you need anything as you build, let us know and we will make it happen! Exciting stuff.
Thank you! That’s one of my favorite features too. Pretty straightforward to implement too. We’ve got some examples in the docs and the repo if you’re interested.
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 because payload loads its own config in dev mode, it's all a bit complicated. This was the easiest fix I could find.
We have a package that allows you to deploy Payload in a NextJS app serverlessly, and it works great. I actually tried bundling as one endpoint early on while exploring with the NextJS approach and it seemed to work perfectly. But honestly I can’t remember the pros and cons.
I’d say give it a shot, and if you need anything, let us know!
11 comments
[ 1.7 ms ] story [ 39.5 ms ] threadVery exciting to see open source alternatives to the other headless content management systems that put developer experience as highly as editor experience, like Sanity, DatoCMS, or Contentful.
We’ll be switching to Payload very soon for all of our new internal and client projects after we’ve had a chance to play around with this release.
If you need anything as you build, let us know and we will make it happen! Exciting stuff.
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 because payload loads its own config in dev mode, it's all a bit complicated. This was the easiest fix I could find.
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: https://github.com/payloadcms/payload/tree/main/examples/cus...
I’d say give it a shot, and if you need anything, let us know!
It was super easy to implement comments with replies and optional email notifications.