Rishad B
Rishad B2w ago

Payload CMS component

There are some really good components right now that solve different problems such as payments and I think even auth is coming soon, but what about something for a CMS? I think integrating Payload CMS would be huge. Hopefully you will consider it.
10 Replies
Convex Bot
Convex Bot2w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Clever Tagline
Convex will soon be releasing official docs so users can create their own components and share them on the official components page. More details will be shared in the Dev Day event on Dec 2. Just updated an older FAQ entry with this info: #Will you create a component for [insert tool/service here]?
isaac_way
isaac_way6d ago
How would this work? Isn't integrating with payload cms just making http calls to their autogenerated endpoints? Or what more are you looking for from it out of curiosity (curious b/c we have a massive payload cms codebase lol)
raideno
raideno6d ago
Oh amazing!
raideno
raideno6d ago
I think yes you can just write an adapter for convex ? As specified in this issue https://github.com/payloadcms/payload/issues/11009#issuecomment-2638958309
GitHub
Custom Database Adapter · Issue #11009 · payloadcms/payload
Documentation Issue I want to create a custom payload database adapter, but I could not find anything about it in the database documentation, although there is a guide for custom storage adapters. ...
raideno
raideno6d ago
The only tricky thing is to correctly handle auth in order to not expose the whole database
isaac_way
isaac_way6d ago
Oh okay you mean using convex as your database. Should be possible. So you want to have Payload's admin UI, and then the front end client would still query data using convex directly like normal?
raideno
raideno6d ago
Exactly If possible I think it would be better than building an entire CMS from scratch just for convex, we would benefit for payload's ecosystem
isaac_way
isaac_way6d ago
yeah that's a good idea that's what makes payload good is the autogenerated, extensible admin panel. Honestly another option is to fork payloads admin panel generation code and modify that to work with convex schemas somehow, rather than running the payload nextjs server. Then package that into a component. I can't think of how it would work with a good developer experience if you were running both payload and the convex backend separately (might be possible I'm just not thinking of it). B/c how does payload talk to convex DB? I haven't seen anything where a convex db can be accessed from a non convex process. Could be done with HTTP but that doesn't seem ideal
raideno
raideno6d ago
Yeah having to add another server for payload isn't ideal

Did you find this page helpful?